mirror of
https://github.com/zaaarf/friendenstein.git
synced 2024-11-22 15:34:50 +01:00
added webring shortcode
This commit is contained in:
parent
f70c2070d0
commit
42801d375a
6 changed files with 18 additions and 16 deletions
|
@ -37,10 +37,4 @@ header_nav = [
|
||||||
{ name = "/about/", url = "/about" },
|
{ name = "/about/", url = "/about" },
|
||||||
{ name = "/journal/", url = "/journal" },
|
{ name = "/journal/", url = "/journal" },
|
||||||
{ name = "/blog/", url = "/blog" },
|
{ name = "/blog/", url = "/blog" },
|
||||||
]
|
]
|
||||||
|
|
||||||
#footer_nav = [
|
|
||||||
# { name = "< previous", url = "#" },
|
|
||||||
# { name = "webring", url = "#" },
|
|
||||||
# { name = "next >", url = "#" },
|
|
||||||
#]
|
|
|
@ -24,4 +24,9 @@ this list is just the content of `content/_index.md`, the tests are shamelessly
|
||||||
## Online presence
|
## Online presence
|
||||||
- Email: [jgll6dij6@mozmail.com](mailto:jgll6dij6@mozmail.com)
|
- Email: [jgll6dij6@mozmail.com](mailto:jgll6dij6@mozmail.com)
|
||||||
- Code repositories: [speyll@github.com](https://github.com/Speyll)
|
- Code repositories: [speyll@github.com](https://github.com/Speyll)
|
||||||
- {{ metaData(content="@Speyll") }} anywhere else.
|
- {{ metaData(content="@Speyll") }} anywhere else.
|
||||||
|
|
||||||
|
## Webrings
|
||||||
|
|
||||||
|
- 🈯 {{ webring(prev="#", webring="#", webringName="Random Webring", next="#") }}
|
||||||
|
- 🎶 {{ webring(prev="#", webring="#", webringName="Another Webring", next="#") }}
|
|
@ -61,6 +61,9 @@ Now a table:
|
||||||
|
|
||||||
random image of a dog[^4]
|
random image of a dog[^4]
|
||||||
|
|
||||||
|
## Webrings
|
||||||
|
- 🈯 {{ webring(prev="#", webring="#", webringName="Random Webring", next="#") }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[^1]: this is a footnote. It should highlight if you click on the corresponding superscript number.
|
[^1]: this is a footnote. It should highlight if you click on the corresponding superscript number.
|
||||||
|
|
|
@ -306,4 +306,8 @@ textarea {
|
||||||
|
|
||||||
.floatLeft {
|
.floatLeft {
|
||||||
float: left
|
float: left
|
||||||
|
}
|
||||||
|
|
||||||
|
.webring {
|
||||||
|
margin: 0.4rem;
|
||||||
}
|
}
|
|
@ -128,14 +128,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if config.extra.footer_nav %}
|
|
||||||
<nav class="textCenter">
|
|
||||||
{% for nav_item in config.extra.footer_nav %}
|
|
||||||
<a href="{{ nav_item.url | safe }}">{{ nav_item.name }}</a>
|
|
||||||
{% endfor %}
|
|
||||||
</nav>
|
|
||||||
{% endif %}
|
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
4
templates/shortcodes/webring.html
Normal file
4
templates/shortcodes/webring.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<span class="webring">
|
||||||
|
<a href={{prev}}>⇱</a>
|
||||||
|
<a href={{webring}}>{{webringName}}</a>
|
||||||
|
<a href={{next}}>⇲</a></span>
|
Loading…
Reference in a new issue