:Merge branch 'src' of https://git.txs.es/EDUCATIC/educaweb2 into src
commit
0bf895ef69
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: communications
|
||||
.. slug: communications
|
||||
.. date: 2025-08-02 19:44:02 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: contact
|
||||
.. slug: contact
|
||||
.. date: 2025-08-03 19:02:05 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: donate
|
||||
.. slug: donate
|
||||
.. date: 2025-08-02 19:33:00 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: events
|
||||
.. slug: events
|
||||
.. date: 2025-08-06 19:29:36 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: foundation
|
||||
.. slug: foundation
|
||||
.. date: 2025-08-02 18:02:02 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,16 +0,0 @@
|
|||
<!--
|
||||
.. title: Inicio
|
||||
.. slug: index
|
||||
.. date: 2025-07-24 19:28:07 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description: EDUCATIC web
|
||||
.. type: text
|
||||
.. hidetitle: True
|
||||
-->
|
||||
|
||||
# <font color="#ff0000">EDUCA</font><font color="#808080">TIC</font>
|
||||
# Tecnologías para la Educación y Transparencia Tecnológica
|
||||
|
||||

|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: info
|
||||
.. slug: info
|
||||
.. date: 2025-07-27 10:56:19 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: join
|
||||
.. slug: join
|
||||
.. date: 2025-07-28 20:18:04 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: project
|
||||
.. slug: project
|
||||
.. date: 2025-07-28 18:59:14 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: rgpd
|
||||
.. slug: rgpd
|
||||
.. date: 2025-08-06 20:44:31 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,10 +0,0 @@
|
|||
.. title: services
|
||||
.. slug: services
|
||||
.. date: 2025-08-06 21:00:07 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
|
||||
Escriba su página aquí.
|
|
@ -2,9 +2,9 @@
|
|||
.. title: Equipo y colaboraciones
|
||||
.. slug: team
|
||||
.. date: 2025-07-28 20:13:09 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description: Equipo actual y entidades con las que ha colaborado EDUCATIC
|
||||
.. type: text
|
||||
-->
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: team
|
||||
.. slug: team
|
||||
.. date: 2025-07-28 20:13:09 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: tos
|
||||
.. slug: tos
|
||||
.. date: 2025-08-06 20:19:28 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<!--
|
||||
.. title: xmpp
|
||||
.. slug: xmpp
|
||||
.. date: 2025-08-04 17:10:24 UTC+01:00
|
||||
.. tags:
|
||||
.. category:
|
||||
.. link:
|
||||
.. description:
|
||||
.. type: text
|
||||
-->
|
||||
|
||||
Escriba su página aquí.
|
|
@ -1,12 +0,0 @@
|
|||
<%doc>
|
||||
Return blog email from varialbe BLOG_EMAIL of config.py
|
||||
|
||||
Template engine: Mako
|
||||
|
||||
Usage:
|
||||
|
||||
{{% email %}}
|
||||
|
||||
</%doc>
|
||||
|
||||
${blog_email}
|
|
@ -1,31 +0,0 @@
|
|||
<%doc>
|
||||
Return communication item
|
||||
|
||||
Template engine: Mako
|
||||
|
||||
Usage:
|
||||
|
||||
{{% comm [type=<type>] [date=<date>] [media=<media>] [link=<link>] <text> %}}
|
||||
|
||||
where <type> is one of press, video, audio, socal, photo, image or other
|
||||
|
||||
Example:
|
||||
</%doc>
|
||||
|
||||
% if type == 'press':
|
||||
<% t = 'fa-file-alt' %>
|
||||
% elif type == 'video':
|
||||
<% t = 'fa-video' %>
|
||||
% elif type == 'audio':
|
||||
<% t = 'fa-microphone' %>
|
||||
% elif type == 'social':
|
||||
<% t = 'fa-comment-alt' %>
|
||||
% elif type == 'photo':
|
||||
<% t = 'fa-camera' %>
|
||||
% elif type == 'image':
|
||||
<% t = 'fa-file-image' %>
|
||||
% else:
|
||||
<% t = 'fa-bullhorn' %>
|
||||
% endif
|
||||
|
||||
<i class="fas ${t} mr-2"></i> <i>${date}</i>, <strong>${media}</strong>: <a href="${link}">${_args[0]}</a>
|
|
@ -1,36 +0,0 @@
|
|||
<%doc>
|
||||
Return URL from email and some social networks.
|
||||
|
||||
Template engine: Mako
|
||||
|
||||
Usage:
|
||||
|
||||
{{% url <site> [suffix=<suffix>] %}}
|
||||
|
||||
where <site> is one of 'email', 'xmpp', 'mastodon' or 'peertube', corresponding to GLOBAL_CONTEXT variable of EMAIL_URL, XMPP_URL, MASTODON_URL, PEERTUBE_URL and GIT_URL respectively, and sufix variable allow to add a suffix <suffix> to the URL
|
||||
|
||||
Example: {{% url 'mastodon' }} will show the content of MASTODON_URL defined in GLOBAL_CONTEXT of config.py
|
||||
</%doc>
|
||||
|
||||
% if suffix is UNDEFINED:
|
||||
<% s = '' %>
|
||||
% else:
|
||||
<% s = suffix %>
|
||||
% endif
|
||||
|
||||
% if _args[0] == 'email':
|
||||
${EMAIL_URL}${s}
|
||||
% elif _args[0] == 'xmpp':
|
||||
${XMPP_URL}${s}
|
||||
% elif _args[0] == 'mastodon':
|
||||
${MASTODON_URL}${s}
|
||||
% elif _args[0] == 'peertube':
|
||||
${PEERTUBE_URL}${s}
|
||||
% elif _args[0] == 'git':
|
||||
${GIT_URL}${s}
|
||||
% else:
|
||||
Unknown
|
||||
% endif
|
||||
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
<%doc>
|
||||
Return URL from email and some social networks.
|
||||
|
||||
Template engine: Mako
|
||||
|
||||
Usage:
|
||||
|
||||
{{% url <site> %}}
|
||||
|
||||
where <site> is one of 'email', 'xmpp', 'mastodon' or 'peertube', corresponding to GLOBAL_CONTEXT variable of EMAIL_URL, XMPP_URL, MASTODON_URL and PEERTUBE_URL respectively
|
||||
|
||||
Example: {{% url 'mastodon' }} will show the content of MASTODON_URL defined in GLOBAL_CONTEXT of config.py
|
||||
</%doc>
|
||||
|
||||
% if _args[0] == 'email':
|
||||
${EMAIL_URL}
|
||||
% elif _args[0] == 'xmpp':
|
||||
${XMPP_URL}
|
||||
% elif _args[0] == 'mastodon':
|
||||
${MASTODON_URL}
|
||||
% elif _args[0] == 'peertube':
|
||||
${PEERTUBE_URL}
|
||||
% else:
|
||||
Unknown
|
||||
% endif
|
|
@ -1 +0,0 @@
|
|||
${data}
|
|
@ -1,21 +0,0 @@
|
|||
<%doc>
|
||||
Template engine: Mako
|
||||
|
||||
Usage:
|
||||
|
||||
{{% url <site> %}}
|
||||
|
||||
where <site> is one of 'xmpp', 'mastodon' or 'peertube'
|
||||
|
||||
Example: {{% url 'mastodon' }} will show the content of MASTODON_URL defined in GLOBAL_CONTEXT of config.py
|
||||
</%doc>
|
||||
|
||||
% if _args[0] == 'xmpp':
|
||||
${XMPP_URL}
|
||||
% elif _args[0] == 'mastodon':
|
||||
${MASTODON_URL}
|
||||
% elif _args[0] == 'peertube':
|
||||
${PEERTUBE_URL}
|
||||
% else:
|
||||
Unknown
|
||||
% endif
|
|
@ -1,64 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
|
||||
<%def name="html_title()">
|
||||
%if title and not post.meta('hidetitle'):
|
||||
<h1 class="p-name entry-title" itemprop="headline name"><!--a href="${post.permalink()}" class="u-url"-->${post.title()|h}<!--/a--></h1>
|
||||
%endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_translations(post)">
|
||||
% if len(post.translated_to) > 1:
|
||||
<div class="metadata posttranslations translations">
|
||||
<h3 class="posttranslations-intro">${messages("Also available in:")}</h3>
|
||||
% for langname in sorted(translations):
|
||||
% if langname != lang and post.is_translation_available(langname):
|
||||
<p><a href="${post.permalink(langname)}" rel="alternate" hreflang="${langname}">${messages("LANGUAGE", langname)}</a></p>
|
||||
% endif
|
||||
% endfor
|
||||
</div>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_sourcelink()">
|
||||
% if show_sourcelink:
|
||||
<p class="sourceline"><a href="${post.source_link()}" class="sourcelink">${messages("Source")}</a></p>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="html_post_header()">
|
||||
<header>
|
||||
${html_title()}
|
||||
<div class="metadata">
|
||||
<p class="byline author vcard p-author h-card"><span class="byline-name fn p-name" itemprop="author">
|
||||
% if author_pages_generated and multiple_authors_per_post:
|
||||
% for author in post.authors():
|
||||
<a class="u-url" href="${_link('author', author)}">${author|h}</a>
|
||||
% endfor
|
||||
% elif author_pages_generated:
|
||||
<a class="u-url" href="${_link('author', post.author())}">${post.author()|h}</a>
|
||||
% else:
|
||||
${post.author()|h}
|
||||
% endif
|
||||
</span></p>
|
||||
<p class="dateline">
|
||||
<a href="${post.permalink()}" rel="bookmark">
|
||||
<time class="published dt-published" datetime="${post.formatted_date('webiso')}" itemprop="datePublished" title="${post.formatted_date(date_format)|h}">${post.formatted_date(date_format)|h}</time>
|
||||
% if post.updated and post.updated != post.date:
|
||||
<span class="updated"> (${messages("updated")}
|
||||
<time class="updated dt-updated" datetime="${post.formatted_updated('webiso')}" itemprop="dateUpdated" title="${post.formatted_updated(date_format)|h}">${post.formatted_updated(date_format)|h}</time>)</span>
|
||||
% endif
|
||||
</a>
|
||||
</p>
|
||||
% if not post.meta('nocomments') and site_has_comments:
|
||||
<p class="commentline">${comments.comment_link(post.permalink(), post._base_path)}
|
||||
% endif
|
||||
${html_sourcelink()}
|
||||
% if post.meta('link'):
|
||||
<p class="linkline"><a href="${post.meta('link')}">${messages("Original site")}</a></p>
|
||||
% endif
|
||||
</div>
|
||||
${html_translations(post)}
|
||||
</header>
|
||||
</%def>
|
|
@ -1,25 +0,0 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="pheader" file="post_header.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%namespace name="math" file="math_helper.tmpl"/>
|
||||
<%inherit file="post.tmpl"/>
|
||||
|
||||
<%block name="content">
|
||||
<article class="post-${post.meta('type')} storypage" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<header>
|
||||
${pheader.html_title()}
|
||||
${pheader.html_translations(post)}
|
||||
</header>
|
||||
<div class="e-content entry-content" itemprop="articleBody text">
|
||||
${post.text()}
|
||||
</div>
|
||||
%if site_has_comments and enable_comments and not post.meta('nocomments'):
|
||||
<section class="comments">
|
||||
<h2>${messages("Comments")}</h2>
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)}
|
||||
</section>
|
||||
%endif
|
||||
${math.math_scripts_ifpost(post)}
|
||||
</article>
|
||||
</%block>
|
Loading…
Reference in New Issue