Move the intro text into the page template
This commit is contained in:
parent
8fb1947891
commit
bfdb82a4ba
|
@ -1 +1,9 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
{% if page.intro_text %}
|
||||
<p class="max-w-lg">{{ page.intro_text }}</p>
|
||||
{% endif %}
|
||||
|
||||
{{ parent() }}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
title: Blog
|
||||
use:
|
||||
- posts
|
||||
intro_text: |
|
||||
TODO: update text
|
||||
---
|
||||
|
||||
<p>TODO: update text</p>
|
||||
|
||||
<div class="mt-6">
|
||||
<div class="space-y-6">
|
||||
{% for talk in data.posts|sort((a, b) => a.date < b.date) %}
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
title: Talks and workshops
|
||||
use:
|
||||
- talks
|
||||
intro_text: |
|
||||
Starting with my first talk in September 2012, I have given 81 presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.
|
||||
---
|
||||
|
||||
<p>Starting with my first talk in September 2012, I have given 81 presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.</p>
|
||||
|
||||
<div class="mt-6">
|
||||
<div class="space-y-6">
|
||||
{% for talk in data.talks|sort((a,b) => a.sortable_date < b.sortable_date) %}
|
||||
|
|
Loading…
Reference in a new issue