mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-22 03:59:31 +01:00
blog & note index formatting experiment
This commit is contained in:
parent
953ce43e30
commit
ef265e9d6b
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
comments: true
|
||||
title: "Mitä puhelimet tekisivät jos kelloja siirrettäisiin pysyvästi"
|
||||
title: "Mitä puhelimet tekisivät jos kelloja siirrettäisiin pysyvästi?"
|
||||
category: [finnish]
|
||||
tags:
|
||||
[
|
||||
|
@ -17,19 +17,16 @@ robots: noai
|
||||
<h2 id="in-english">In English</h2>
|
||||
|
||||
{% for post in site.categories.english %}
|
||||
<p>
|
||||
<em>{{ post.date | date: "%F" }}:</em>
|
||||
<strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
|
||||
</p>
|
||||
{{ post.excerpt | markdownify }} {% endfor %}
|
||||
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
||||
<p>{{ post.date | date: "%F" }}: {{ post.excerpt | strip_html }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<hr />
|
||||
<br />
|
||||
<div lang="fi">
|
||||
<h2 id="suomeksi">suomeksi</h2>
|
||||
{% for post in site.categories.finnish %}
|
||||
<p>
|
||||
<em>{{ post.date | date: "%F" }}:</em>
|
||||
<strong><a href="{{ post.url }}">{{ post.title }}</a></strong>
|
||||
</p>
|
||||
{{ post.excerpt | markdownify }} {% endfor %}
|
||||
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
||||
<p>{{ post.date | date: "%F" }}: {{ post.excerpt | strip_html }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
@ -32,8 +32,9 @@ robots: noai
|
||||
<!-- If the page is on the sitemap, I want to publish it here -->
|
||||
{% assign notes = site.pages | where_exp: "page", "page.path contains 'n/'" %}
|
||||
{% for note in notes %} {% if note.sitemap == true %}
|
||||
<h2><a href="{{ note.url }}">{{note.title}}</a></h2>
|
||||
<p>
|
||||
<a href="{{ note.url }}">{{ note.url | split: ".html" }} - {{note.title}}</a>
|
||||
<span class="monospaced">{{ note.url | split: ".html" }}</span> - {{
|
||||
note.excerpt | strip_html }}
|
||||
</p>
|
||||
<p>{{ note.excerpt | strip_html }}</p>
|
||||
{% endif %} {% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user