Skip to content

Commit

Permalink
cleaned up footer hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
klausbreyer committed Mar 26, 2024
1 parent 0ca41a3 commit 621228b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
7 changes: 3 additions & 4 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<meta property="og:image" content="{{.Site.BaseURL}}{{.Site.Params.image}}" />
{{ end }}
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}posts/index.xml" title="{{.Site.Title}}" />

{{ if .Page.Store.Get "hasMermaid" }}
<script src="/js/mermaid.min.js"></script>
<script>
Expand All @@ -44,7 +45,7 @@
{{ end }}
</div>

<div class="hidden print:hidden sm:block">
<div class="hidden print:hidden sm:block">
{{ partial "side.html" . }}
</div>
</div>
Expand All @@ -54,9 +55,7 @@
<footer class="bg-footer">
{{ partial "footer.html" . }}
</footer>
<footer class="bg-footer2">
{{ partial "copyright.html" . }}
</footer>

</body>


Expand Down
10 changes: 0 additions & 10 deletions layouts/partials/copyright.html

This file was deleted.

11 changes: 11 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ <h3 class="mb-2 text-xl ">Categories</h3>
</ul>
</nav>
</div>

<div class="text-white copyright bg-footer print:hidden">
<div class="container flex items-center justify-between p-4 mx-auto lg:p-8">
<a class="p-1 border-t-2 hover:text-primary hover:border-primary" href="/">{{$.Site.Copyright }}</a>
<span class="flex gap-4">
<a href="{{ .Page.Permalink }}" class="p-1 border-t-2 hover:text-primary hover:border-primary" target="_blank">Permalink</a>
<a href="{{ .Site.BaseURL }}posts/index.xml" class="p-1 border-t-2 hover:text-primary hover:border-primary" target="_blank">RSS Feed</a>
<a href="https://www.iubenda.com/privacy-policy/96468474/full-legal" class="p-1 border-t-2 hover:text-primary hover:border-primary" target="_blank">Imprint</a>
</span>
</div>
</div>

0 comments on commit 621228b

Please sign in to comment.