migrate notes
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<a href="/blog">Blog</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/links">Links</a>
|
||||
<a href="{{ path('notes') }}">Notes</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
<section>
|
||||
<h1>Note {{ note.slug }}</h1>
|
||||
<time>{{ note.publishedDate.format('c') }}
|
||||
<p>{{ note.content }}</p>
|
||||
{% apply markdown_to_html %}
|
||||
{{ note.content }}
|
||||
{% endapply %}
|
||||
</section>
|
||||
{% else %}
|
||||
<section>
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
|
||||
{% for note in notes %}
|
||||
<h2><a href="/notes/{{ note.slug }}">Note {{ note.slug }}</a></h2>
|
||||
<p>{{ note.content }}</p>
|
||||
{% apply markdown_to_html %}
|
||||
{{ note.content }}
|
||||
{% endapply %}
|
||||
{% else %}
|
||||
<p>I have no notes.</p>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user