Add misc section with full per-page strings translation support, 88x31 page and bookmarks page.
This commit is contained in:
parent
45aa627911
commit
74285e314d
89 changed files with 291 additions and 9 deletions
33
misc.njk
Normal file
33
misc.njk
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
pagination:
|
||||
data: i18n
|
||||
size: 1
|
||||
alias: langKey
|
||||
permalink: "/{{ langKey }}/misc/index.html"
|
||||
layout: base.njk
|
||||
title: Adrian Victor:Misc
|
||||
---
|
||||
|
||||
<main>
|
||||
<h1>{{ i18n[langKey].miscellaneous }}</h1>
|
||||
<ul>
|
||||
<dl>
|
||||
{% for page in collections.misc %}
|
||||
{% set t = page | getTranslation(langKey) %}
|
||||
|
||||
<dt>
|
||||
<a href="/{{ langKey }}/misc/{{ page.fileSlug }}/">
|
||||
{{ page.data.pageTitle or t.pageTitle }}
|
||||
</a>
|
||||
</dt>
|
||||
|
||||
<dd>
|
||||
{% if page.data["88x31"] %}
|
||||
<img src="/static/images/88x31/{{ page.data["88x31"] }}"><br>
|
||||
{% endif %}
|
||||
{{ t.pageDescription }}
|
||||
</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</ul>
|
||||
</main>
|
||||
Loading…
Add table
Add a link
Reference in a new issue