parent
93d8db65be
commit
38bfc6a17b
BIN
.doit.db.db
BIN
.doit.db.db
Binary file not shown.
2
conf.py
2
conf.py
|
@ -32,6 +32,7 @@ XMPP_URL = 'xmpp:educatic-general@conference.txs.es'
|
|||
MASTODON_URL = 'https://txs.es/@EDUCATIC'
|
||||
PEERTUBE_URL = 'https://tuvideo.encanarias.info/accounts/educatic'
|
||||
GIT_URL = 'https://git.txs.es/EDUCATIC'
|
||||
RSS_URL = 'https://eventos.txs.es/feed/rss/collection/EDUCATIC'
|
||||
|
||||
# Nikola is multilingual!
|
||||
#
|
||||
|
@ -1488,6 +1489,7 @@ GLOBAL_CONTEXT = {
|
|||
'MASTODON_URL': MASTODON_URL,
|
||||
'PEERTUBE_URL': PEERTUBE_URL,
|
||||
'GIT_URL': GIT_URL,
|
||||
'RSS_URL': RSS_URL,
|
||||
'BANNER_URL': '/images/aprendiendo3.jpg',
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0"?><svg height="512px" id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"><defs id="defs19"/><g id="g3021"/><g id="Layer_1_1_"/><g id="Layer_1_1_-7" transform="translate(-819.672,-61.929991)"/><g id="g2989"><rect height="512" id="rect2989" rx="70" ry="70" style="fill:#ea7819;fill-opacity:1;stroke:none" transform="scale(-1,-1)" width="512" x="-512" y="-512"/><path d="m 81.05643,267.04958 c 43.7041,0 84.78879,17.07214 115.66407,48.12395 30.93179,31.05179 47.96156,72.41184 47.96156,116.44072 h 67.34951 c 0,-127.8857 -103.61898,-231.92124 -230.97514,-231.92124 v 67.35657 z M 81.1624,147.65054 c 155.7603,0 282.48808,127.4197 282.48808,284.04844 H 431 C 431,237.92528 274.05354,80.30102 81.1624,80.30102 v 67.34952 z m 93.13421,236.99769 c 0,25.75647 -20.89183,46.6483 -46.6483,46.6483 C 101.89184,431.29653 81,410.41176 81,384.64823 c 0,-25.7706 20.88477,-46.64831 46.64124,-46.64831 25.75649,0 46.65537,20.87771 46.65537,46.64831 z" id="path3844" style="fill:#ffffff"/></g></svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -26,3 +26,9 @@
|
|||
* Repositorio de vídeos [^2]:
|
||||
|
||||
[<img src="/assets/img/peertube.svg" width="45" height="45" alt="PeerTube" class="d-inline-block align-center">]({{% url 'peertube' %}}) PeerTube: [{{% url 'peertube' account=True %}}]({{% url 'peertube' %}})
|
||||
|
||||
* Canal RSS Eventos [^3]:
|
||||
[^3]: Para que puedas estar al tanto de que {{% doc %}}eventos organizamos<events>{{% /doc %}} en {{% blog_title %}}, sin la necesidad de acudir periódicamente a esta web, el método recomendado es usar los *[feeds RSS](https://eventos.txs.es/export)*
|
||||
|
||||
[<img src="/assets/img/rss.svg" width="45" height="45" alt="RSS" class="d-inline-block align-center">]({{% url 'rss' %}}) RSS: [{{% url 'rss' delprt=True %}}]({{% url 'rss' %}})
|
||||
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
<gancio-events baseurl='https://eventos.txs.es' title='Eventos pasados' theme='light' sidebar='false' tags='educatic' past='true'></gancio-events>
|
||||
{{% /tabpannel %}}
|
||||
|
||||
|
||||
Para que puedas estar al tanto de los nuevos eventos que organizamos, sin la necesidad de acudir periódicamente a esta web, puedes {{% doc %}}subscribirte a nuestro Canal RSS de Eventos o seguirnos en nuestras redes sociales<contact>{{% /doc %}}.
|
||||
|
||||
Si quieres organizar un evento con nosotros {{% doc %}}contáctanos <contact>{{% /doc %}}.
|
||||
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ Usage:
|
|||
|
||||
{{% url <site> [suffix=<suffix>] [delprt=<delprt>] [account=<account>] %}}
|
||||
|
||||
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, sufix variable allow to add a suffix <suffix> to the URL, if delprt parameter is True then remove protocol from URL, if account parameter is True then return the user account
|
||||
where <site> is one of 'email', 'xmpp', 'mastodon', 'peertube' or 'rss', corresponding to GLOBAL_CONTEXT variable of EMAIL_URL, XMPP_URL, MASTODON_URL, PEERTUBE_URL, GIT_URL and RSS_URL respectively, sufix variable allow to add a suffix <suffix> to the URL, if delprt parameter is True then remove protocol from URL, if account parameter is True then return the user account
|
||||
|
||||
Example: {{% url 'mastodon' %}} will show the content of MASTODON_URL defined in GLOBAL_CONTEXT of config.py
|
||||
</%doc>
|
||||
|
@ -71,6 +71,8 @@ where <site> is one of 'email', 'xmpp', 'mastodon' or 'peertube', corresponding
|
|||
<% url = PEERTUBE_URL + s %>
|
||||
% elif _args[0] == 'git':
|
||||
<% url = GIT_URL + s %>
|
||||
% elif _args[0] == 'rss':
|
||||
<% url = RSS_URL + s %>
|
||||
% else:
|
||||
Unknown
|
||||
% endif
|
||||
|
|
Loading…
Reference in New Issue