mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-29 07:59:24 +01:00
n/index: improve formatting
This commit is contained in:
parent
a056ea0c46
commit
817900b9ad
18
n/index.html
18
n/index.html
@ -19,23 +19,21 @@ robots: noai
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<em
|
<small
|
||||||
|
><em
|
||||||
>I won't comment on whether there are secret messy unlisted notes lying
|
>I won't comment on whether there are secret messy unlisted notes lying
|
||||||
around.</em
|
around.</em
|
||||||
|
></small
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- Make a variable containing pages under n/ -->
|
<!-- Make a variable containing pages under n/ -->
|
||||||
{% assign notes = site.pages | where_exp: "page", "page.path contains 'n/'" %}
|
|
||||||
|
|
||||||
<!-- For loop to go through the contents of the pages -->
|
<!-- For loop to go through the contents of the pages -->
|
||||||
{% for note in notes %}
|
|
||||||
<!-- If the page is on the sitemap, I want to publish it here -->
|
<!-- If the page is on the sitemap, I want to publish it here -->
|
||||||
{% if note.sitemap == true %}
|
{% assign notes = site.pages | where_exp: "page", "page.path contains 'n/'" %}
|
||||||
|
{% for note in notes %} {% if note.sitemap == true %}
|
||||||
<p>
|
<p>
|
||||||
<a href="{{ note.url }}">{{note.title}}</a>
|
<a href="{{ note.url }}">{{ note.url | split: ".html" }} - {{note.title}}</a>
|
||||||
<em>{{ note.excerpt | markdownify }}</em>
|
|
||||||
|
|
||||||
{% endif %} {% endfor %}
|
|
||||||
</p>
|
</p>
|
||||||
|
<p>{{ note.excerpt | strip_html }}</p>
|
||||||
|
{% endif %} {% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user