Skip to content

Commit

Permalink
Link rauf runter funktioniert
Browse files Browse the repository at this point in the history
  • Loading branch information
gruendau committed Jul 30, 2023
1 parent d67c1dc commit 6609edf
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/admin/todo-hugo.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Auflistung der Ideen und Punkte die noch im Rahmen des Projekts "Hugo Website" a
* Navigation <br>
[ ] Navigation. <br >
[x] Pfad im Header anzeigen. <span class="csAnnotation">2023-07-30 </span> <br>
[ ] Seite runter in main funktioniert nicht. <br>
[x] Seite runter in main funktioniert nicht. <span class="csAnnotation">2023-07-30 </span> <br>
[ ] Mode-Änderung light/dark in Header. <br>
[ ] Header-Menü Erweiterung. <br>

Expand Down
8 changes: 8 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@
<div class="container-fluid px-2">
<div class="row">
<div class="col">

<!-- Sprungmarke -->
<h3 id="top"></h3>

{{ partial "info" . }}

<!-- Title, Subtitle -->
{{ partial "title-subtitle" . }}

<!-- Content -->
{{ .Content }}

<!-- Sprungmarke -->
<h3 id="bottom"></h3>

</div>
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

<!-- Sprungmarke -->
<h3 id="top"></h3>


{{ partial "info" . }}

<!-- Title, Subtitle -->
{{ partial "title-subtitle" . }}

Expand Down
13 changes: 13 additions & 0 deletions layouts/partials/info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- partial info.html -->

<div>
<strong>Info über die Seite </strong> <br>
Type: {{ .Page.Type }} <br>
Type: {{ .Page.Type }} <br>
TranslationKey: {{ .Page.TranslationKey }} <br>
Truncated: {{ .Page.Truncated }} <br>
Type: {{ .Page.Type }} <br>
Weight: {{ .Page.Weight }} <br>
WordCount: {{ .Page.WordCount }} <br>
</div>

0 comments on commit 6609edf

Please sign in to comment.