Introduction
Introduction Statistics Contact Development Disclaimer Help
tFix two danish links - andersdamsgaard.com - my photography webpage
git clone git://src.adamsgaard.dk/andersdamsgaard.com
Log
Files
Refs
Submodules
README
LICENSE
---
commit 7cb692d4b8fe4cfe09a86c41161a465d5f171f94
parent 99a908846b24500706c36f04f74aed112df7b1ef
Author: Anders Damsgaard <[email protected]>
Date: Tue, 6 Nov 2018 08:27:07 +0100
Fix two danish links
Diffstat:
M themes/tale-mod/layouts/_default/s… | 2 +-
M themes/tale-mod/layouts/partials/h… | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/themes/tale-mod/layouts/_default/single.da.html b/themes/tale-mod/…
t@@ -57,7 +57,7 @@
<a href="{{ .NextPage.URL }}" class="left arrow">&#8592; Forrige serie…
{{- end }}
- <a href="{{ .Site.BaseURL }}" class="top">Hjem</a>
+ <a href="{{ .Site.BaseURL }}{{ .Lang }}" class="top">Hjem</a>
<!-- <a href="#" class="top">Top</a> -->
</div>
diff --git a/themes/tale-mod/layouts/partials/header.html b/themes/tale-mod/lay…
t@@ -5,16 +5,21 @@
<body>
<nav class="nav">
+ {{- if eq .Lang "da" }}
<div class="nav-container">
- <a href="{{ .Site.BaseURL }}">
+ <a href="{{ .Site.BaseURL }}{{ .Lang }}">
<h2 class="nav-title">{{ .Site.Title }}</h2>
</a>
<ul>
- {{- if eq .Lang "da" }}
<li><a href="{{ .Site.BaseURL }}{{ .Lang }}/">Portefølje</a><…
<li><a href="{{ .Site.BaseURL }}{{ .Lang }}/prints">Køb bille…
<li><a href="{{ .Site.BaseURL }}{{ .Lang }}/about">Om</a></li>
{{- else }}
+ <div class="nav-container">
+ <a href="{{ .Site.BaseURL }}">
+ <h2 class="nav-title">{{ .Site.Title }}</h2>
+ </a>
+ <ul>
<li><a href="{{ .Site.BaseURL }}">Portfolio</a></li>
<li><a href="{{ .Site.BaseURL }}prints">Prints</a></li>
<li><a href="{{ .Site.BaseURL }}about">About</a></li>
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.