figbert.com-website

[ACTIVE] the website and home of figbert on the clearnet
git clone git://git.figbert.com/figbert.com-website.git
Log | Files | Refs | README | LICENSE

section.html (3174B)


      1 {% extends "base.html" %}
      2 
      3 {% block header %}
      4   <a href=".." id="back">
      5     <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 62 37"><path fill="currentColor" d="m17.83 36.55.021-3.077-4.566-6.663-7.136-7.284v-2.052l8.136-8.284 2.557-3.661L15.247.775l-.723-.616h-1.048l-.725.62-2.5 6.442-9.753 9.797-.35 2.508 7.137 7.284 5.43 7.38 2.303 2.312 1.48.467m3.226-15.214 12.49-2.35 18.224-4.275 6.058-.115 1.978.837 2.052-.001 1.316-1.324v-1.054l-2.316-2.324-12.02-.135-18.76 4.522-18.728 2.561.13 2.429 1.326 1.325"/></svg>
      6   </a>
      7   <h1>{{ section.title }}</h1>
      8 {% endblock header %}
      9 
     10 {% block content %}
     11   {% if section.content %}
     12   {{ section.content | safe }}
     13   {% endif %}
     14   <ul class="plain-list">
     15   {% for page in section.pages %}
     16     <li>
     17       {% if page.extra is containing("book") %}
     18         {% if page.extra is containing("no_link") %}
     19           <span class="section-title">{{ page.extra.book }}</span>
     20         {% else %}
     21           <a href="{{ page.permalink }}" class="section-title">{{ page.extra.book }}</a>
     22         {% endif %}
     23       {% elif page.extra.type and page.extra.type == "link" %}
     24         <a href="{{ page.permalink }}" class="zola-anchor visible">
     25           <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 50 41"><path fill="currentColor" d="m31.314 40.785 1.506-.455 1.309-1.322 1.842-3.584 2.553-7.752 9.495-4.556 1.688-1.802-2.376-2.336-4.937 1.639-3.804 1.95-1.525-7.05 11.994-4.443.624-.727.001-1.051-1.316-1.324-4.02-.135-7.551 2.868L34.093 4.6l-1.325-1.91L30.342.985 27.944 2.69l-.084 2.678 2.289 2.289 1.554 2.61.024 1.712-5.349 2.672-.746-.56-1.706-6.962-2.774-5.468L18.371 0l-1.662.897-1.705 2.426 1.556 2.689.782.607.793-.506.974 1.463 1.599 3.688-.015 5.082-.627.724-8.083 3.138L.566 22.617l-.565.682L0 24.349l1.316 1.325 8.02.135 10.947-3.846 1.089.026.453 1.338-.117 2.055-1.713 3.759-14.069 5.63.067 1.58 1.323 1.323 3.023.134 3.03-.827 1.944 1.684 1.084.014 2.635-1.571 2.633-2.578L32.321 30l.381 1.382-2.845 6.947.142 2.02m-3.604-12.71-.535-1.312.131-6.027.627-.724 5.492-2.501 1.564 4.21-.685 1.012-.229 2.578"/></svg>
     26         </a>
     27         <a href="{{ page.extra.link }}" class="section-title">{{ page.title }}</a>
     28       {% else %}
     29         <a href="{{ page.permalink }}" class="section-title">{{ page.title }}</a>
     30       {% endif %}
     31       {% if page.extra is containing("book") %}
     32         <p class="summary">
     33           By: {{ page.extra.author }} <br/>
     34           {% if page.extra is containing("no_link") %}
     35           Finished: {{ page.extra.finished | date(format="%B %d, %Y") }} <br/>
     36           {% endif %}
     37           Rating: {{ page.extra.rating }}
     38         </p>
     39       {% else %}
     40         {% if page.summary %}
     41           <div class="summary">{{ page.summary | safe }}</div>
     42         {% elif page.extra.type and page.extra.type == "work" %}
     43           <p class="summary">
     44             {{ page.description }} <br/>
     45             {{ page.extra.start | date(format="%d %b %Y") }} - {{ page.extra.end | date(format="%d %b %Y") }}
     46           </p>
     47         {% else %}
     48           <p class="summary">{{ page.description }}</p>
     49         {% endif %}
     50       {% endif %}
     51     </li>
     52   {% endfor %}
     53   </ul>
     54 {% endblock content %}