Mercurial > web
annotate blog/index.html @ 78:5fdf5f346b92
*: use jekyll for templates, blogging, etc.
I changed the pages to now use templates, so adding new stuff should
be much much easier in the future
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 20 May 2024 02:49:07 -0400 |
parents | |
children | 815c0da68384 |
rev | line source |
---|---|
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
1 --- |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
2 layout: default |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
3 title: blog |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
4 --- |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
5 {% for post in site.posts %} |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
6 <div class="content drop-shadow-box"> |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
7 <span><a href="{{ post.url }}" class="prettylink project-title drop-shadow-text">{{ post.title }}</a> <span class="blog-footer" style="float: right;">{{ post.date | date_to_string }}</span></span> |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
8 <hr class="project-separator"> |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
9 <span class="drop-shadow-text">{{ post.content | strip_html | truncatewords: 50 }}</span> |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
10 </div> |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
11 <br> |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
12 {% endfor %} |