Added and internalized Pico theme for customization
This commit is contained in:
parent
8e7f72ce8b
commit
8c90bb2dfc
71 changed files with 4587 additions and 0 deletions
12
themes/pico/templates/shortcodes/timeline.html
Normal file
12
themes/pico/templates/shortcodes/timeline.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
{% set dt = load_data(literal = body, format="json") %}
|
||||
<div id="timeline-content">
|
||||
<ul class="timeline">
|
||||
{% for d in dt %}
|
||||
<li class="event" data-date="{{ d.date |safe }}">
|
||||
<h3>{{ d.title | markdown | safe}}</h3>
|
||||
<p>{{ d.body | safe }}</p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue