Portal Función Pública
Sala de prensa
Noticias
Para realizar una búsqueda seleccione año y mes, si usted quiere que su búsqueda sea más precisa le sugerimos utilizar el campo: filtrar por palabra clave.
An error occurred while processing the template.
The following has evaluated to null or missing: ==> .vars['reserved-article-display-date'] [in template "418512#418548#45212" at line 27, column 32] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${.vars["reserved-article-display-dat... [in template "418512#418548#45212" at line 27, column 30] ----
1<#setting locale="es_CO">
2<#setting date_format="MMMM dd 'de' yyyy hh:mm aa">
3<#setting time_zone="GMT-5">
4
5<style type="text/css">
6 .h-boletin-head h2{
7 margin-top: 0;
8 margin-bottom: 0.5em;
9 }
10 .img-boletin-editorial{
11 height: 380px;
12 width: 100%;
13 object-fit: cover;
14 object-position: top;
15 margin-bottom: 1em;
16 }
17 @media screen and (max-width: 768px){
18 #home-noticia-prensa .btn-fp {
19 margin-top: 0.5em !important;
20 }
21 }
22</style>
23
24<div id="home-noticia-prensa">
25 <div class="h-boletin-head">
26 <h2>${.vars['reserved-article-title'].data}</h2>
27 <p class="date-news">${.vars['reserved-article-display-date'].data?date("EEE, dd MMM yyyy HH:mm:ss Z")?cap_first}</p>
28 </div>
29 <#if (image.getData())?? && image.getData() != "">
30 <img alt="${image.getAttribute("alt")}" class="img-responsive" data-fileentryid="${image.getAttribute("fileEntryId")}" src="${image.getData()}" />
31 </#if>
32 <div class="mtop30 mbottom20">
33 ${innerContent.getData()}
34 </div>
35 <div class="redes">
36 <a href="https://www.facebook.com/sharer.php?u=sharedURL" id="request-fb"><img src="/o/Fpublica-2020-theme/images/redes/facebook-circle.png" /></a>
37 <a href="https://twitter.com/intent/tweet?text=${.vars['reserved-article-title'].data}&url=sharedURL" id="request-twitter"><img src="/o/Fpublica-2020-theme/images/redes/twitter-circle.png" /></a>
38 </div>
39</div>
40<script type="text/javascript">
41 var el=document.getElementById('request-fb');
42 el.href=el.href.replace("sharedURL",document.location.href);
43 el=document.getElementById('request-twitter');
44 el.href=el.href.replace("sharedURL",document.location.href);
45</script>
46
47<script type='text/javascript'>
48document.addEventListener("DOMContentLoaded", function(event) {
49 var meta = document.createElement('meta');
50 meta.setAttribute('property', 'og:url');
51 meta.setAttribute('name', 'og:url');
52 meta.setAttribute('content', document.location.href);
53 document.getElementsByTagName('head')[0].appendChild(meta);
54
55 meta = document.createElement('meta');
56 meta.setAttribute('property', 'og:type');
57 meta.setAttribute('name', 'og:type');
58 meta.setAttribute('content', 'article');
59 document.getElementsByTagName('head')[0].appendChild(meta);
60
61 meta = document.createElement('meta');
62 meta.setAttribute('property', 'og:title');
63 meta.setAttribute('name', 'og:title');
64 meta.setAttribute('content', document.title);
65 document.getElementsByTagName('head')[0].appendChild(meta);
66
67 meta = document.createElement('meta');
68 meta.setAttribute('property', 'og:description');
69 meta.setAttribute('name', 'og:description');
70 meta.setAttribute('content', "${.vars['reserved-article-description'].data}");
71 document.getElementsByTagName('head')[0].appendChild(meta);
72
73 <#if image.getData()?? && image.getData() != "">
74 meta = document.createElement('meta');
75 meta.setAttribute('property', 'og:image');
76 meta.setAttribute('name', 'og:image');
77 meta.setAttribute('content', "${image.getData()}");
78 document.getElementsByTagName('head')[0].appendChild(meta);
79 </#if>
80
81 const metas = document.getElementsByTagName('meta');
82
83 for (let i = 0; i < metas.length; i++) {
84 if (metas[i].getAttribute('property') != null && metas[i].getAttribute('property').startsWith("og:")) {
85 console.log(metas[i].getAttribute('property') + ' = ' + metas[i].getAttribute('content'));
86 }
87 }
88});
89</script>
¿Quieres realizar una búsqueda?
Últimas noticias
Función Pública propone a Misión de Ciencias Humanas abogar por una gestión del conocimiento más cercana a los territorios
Bogotá, viernes 17 de mayo de 2024.- El director de Gestión del Conocimiento y la Innovación de Función Pública...
Función Pública entrega 70 becas de posgrado a servidores públicos y contratistas a través del Programa Servimos
A través del Programa Servimos, el Departamento Administrativo de la Función Pública, en alianza con la Univers...
Entidades en Colombia están rezagadas en la creación de la oficina de relacionamiento Estado-ciudadanía
El Departamento Administrativo de la Función Pública hace un llamado a las más de 264 entidades de la Rama Ejec...
Alcaldía de Montería formaliza 68 empleos con apoyo de Función Pública
Bogotá, miércoles 15 de mayo de 2024.- La Alcaldía de Montería expidió un decreto que establece una planta de p...
Las entidades públicas tienen más plazo para reportar el FURAG
Bogotá, martes 14 de mayo de 2024. - El Departamento Administrativo de la Función Pública y los líderes de las...