Add highlight to current section on header links, add rating warning on social page, add bribribribribri's website to hotlinks.
This commit is contained in:
parent
e29ef5d30b
commit
f4fc14c66d
13 changed files with 58 additions and 11 deletions
|
|
@ -21,10 +21,10 @@
|
|||
|
||||
<ul id="headerLinks">
|
||||
{% if langKey %}
|
||||
<a href="{{ ('/' ~ langKey ~ '/') | url }}">{{ i18n[langKey].home }}</a>
|
||||
<a href="{{ ('/' ~ langKey ~ '/blog/') | url }}">blog</a>
|
||||
<a href="{{ ('/' ~ langKey ~ '/misc/') | url }}">misc</a>
|
||||
<a href="{{ ('/' ~ langKey ~ '/social/') | url }}">social</a>
|
||||
<a href="{{ ('/' ~ langKey ~ '/') | url }}"{% if headerLink == "home" %} style="text-decoration: underline; color: white;"{% endif %}>{{ i18n[langKey].home }}</a>
|
||||
<a href="{{ ('/' ~ langKey ~ '/blog/') | url }}" {% if headerLink == "blog" %} style="text-decoration: underline; color: white;"{% endif %}>blog</a>
|
||||
<a href="{{ ('/' ~ langKey ~ '/misc/') | url }}" {% if headerLink == "misc" %} style="text-decoration: underline; color: white;"{% endif %}>misc</a>
|
||||
<a href="{{ ('/' ~ langKey ~ '/social/') | url }}" {% if headerLink == "social" %} style="text-decoration: underline; color: white;"{% endif %}>social</a>
|
||||
{% endif %}
|
||||
{% if langKey == undefined %}
|
||||
<a href="{{ ('/') | url }}">home</a>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: base.njk
|
||||
title: Adrian Victor:Blog
|
||||
headerLink: blog
|
||||
---
|
||||
{% set altLanguages = collections.post | alternateLanguages(postId, langKey) %}
|
||||
{% from "macros.njk" import videoCard with context %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue