refactor: move personal site to sites/nrd.sh/
Reorganize for monorepo structure: - Move content/, templates/, static/, site.toml → sites/nrd.sh/ - Frees root for sukr docs site - Build with: sukr -c sites/nrd.sh/site.toml
This commit is contained in:
19
sites/nrd.sh/templates/content/post.html
Normal file
19
sites/nrd.sh/templates/content/post.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %} {% block content %}
|
||||
<article class="post">
|
||||
<header>
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.date %}
|
||||
<time class="date">{{ page.date }}</time>
|
||||
{% endif %} {% if page.description %}
|
||||
<p class="description">{{ page.description }}</p>
|
||||
{% endif %} {% if page.tags %}
|
||||
<ul class="tags">
|
||||
{% for tag in page.tags %}
|
||||
<li><a href="{{ prefix }}/tags/{{ tag }}.html">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</header>
|
||||
<section class="content">{{ content | safe }}</section>
|
||||
</article>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user