Browse Source

removed the stream function for now

transformations
mb@mb 7 years ago
parent
commit
6ca63c4d82
  1. 2
      pelicanconf.py
  2. 2
      plugins-custom
  3. 15
      themes/varia/templates/index.html

2
pelicanconf.py

@ -31,7 +31,7 @@ DEFAULT_PAGINATION = 25
# Uncomment following line if you want document-relative URLs when developing # Uncomment following line if you want document-relative URLs when developing
PLUGIN_PATHS = ['./pelican-plugins', './plugins-custom'] PLUGIN_PATHS = ['./pelican-plugins', './plugins-custom']
PLUGINS = ['dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes', 'stream'] PLUGINS = ['dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes']
MD_EXTENSIONS = ['codehilite','extra','toc'] MD_EXTENSIONS = ['codehilite','extra','toc']
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream'] STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream']

2
plugins-custom

@ -1 +1 @@
Subproject commit abb64b784e8fda8eb8628c32aa6c50dece37437a Subproject commit d91a9e910bffb850ecb597f5c77241678f197e24

15
themes/varia/templates/index.html

@ -5,11 +5,6 @@
{% for p in pages %} {% for p in pages %}
{% if p.title == 'header' %} {% if p.title == 'header' %}
<div id="title"> <div id="title">
<!-- <div id="stream">
{% for img in p.stream %}
<a href="pages/stream.html"><div class="container" style="background-image: url(/stream/{{ img }})"></div></a>
{% endfor %}
</div> -->
{{ p.content }} {{ p.content }}
</div> </div>
{% endif %} {% endif %}
@ -34,16 +29,6 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
<!-- STREAM -->
<!-- {% if loop.index % 3 == 0 -%}
<article class="hentry {{article.category}}{{event_status}}">
<div id="stream">
{% set count = loop.index / 3 %}
<a href="pages/stream.html"><div class="container" style="background-image: url(/stream/{{ pages[0].fullstream[ count | int ] }})"></div></a>
</div>
</article>
{% endif -%} -->
<article class="hentry {{article.category}}{{event_status}}"> <article class="hentry {{article.category}}{{event_status}}">
{% endif %} {% endif %}
<div class="article-info"> <div class="article-info">

Loading…
Cancel
Save