-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Änderungen an index, single und list
- Loading branch information
Showing
11 changed files
with
166 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{{ define "main" }} | ||
|
||
<!-- index.html --> | ||
|
||
<!-- Menu --> | ||
<div> | ||
{{ partial "menu/menu" . }} | ||
</div> | ||
|
||
<!-- Table of content --> | ||
<div> | ||
{{ partial "toc/toc" . }} | ||
</div> | ||
|
||
<div class="content"> | ||
{{ partial "content/content-home" . }} | ||
</div> | ||
|
||
{{ end }} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,21 @@ | ||
{{ define "main" }} | ||
|
||
<div class="container-fluid px-2"> | ||
<div class="row"> | ||
<div class="col"> | ||
<!-- list.html --> | ||
|
||
<!-- Sprungmarke --> | ||
<h3 id="top"></h3> | ||
{{ partial "content/content-list" . }} | ||
|
||
<!-- Layout anzeigen --> | ||
{{ partial "show/layout-list" . }} | ||
|
||
<!-- Title, Subtitle --> | ||
{{ partial "content/title-subtitle" . }} | ||
|
||
{{ if not .Site.Params.showHugoVariablesAll }} | ||
<!-- Content --> | ||
{{ .Content }} | ||
|
||
<ul class="posts"> | ||
|
||
{{ range .Data.Pages }} | ||
{{ if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) }} | ||
<li class="post"> | ||
<a href="{{ .RelPermalink }}">{{.Title}}</a> | ||
<!-- | ||
<span class="meta">{{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} | ||
<span class="draft-label">DRAFT</span> | ||
{{ end }} | ||
</span> | ||
--> | ||
</li> | ||
{{ end }} | ||
{{ end }} | ||
|
||
</ul> | ||
|
||
{{ end }} | ||
|
||
<!-- Sprungmarke --> | ||
<h3 id="bottom"></h3> | ||
{{ end }} | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- | ||
Quelle: | ||
https://github.com/athul/archie/blob/master/layouts/_default/list.html | ||
--> | ||
|
||
<!-- | ||
{{ if isset .Data "Term" }} | ||
{x{ if isset .Data "Term" }} | ||
<h1>Entries tagged - "{{ .Data.Term }}"</h1> | ||
{{ else }} | ||
{x{ else }} | ||
<h1 class="page-title">All articles</h1> | ||
{{ end }} | ||
{x{ end }} | ||
--> | ||
|
||
{{ end }} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!-- partial content-list.html --> | ||
|
||
<div class="container-fluid px-2"> | ||
<div class="row"> | ||
<div class="col"> | ||
|
||
<!-- Sprungmarke --> | ||
<h3 id="top"></h3> | ||
|
||
<!-- Layout anzeigen --> | ||
{{ partial "show/layout-list" . }} | ||
|
||
<!-- Title, Subtitle --> | ||
{{ partial "content/title-subtitle" . }} | ||
|
||
{{ if not .Site.Params.showHugoVariablesAll }} | ||
<!-- Content --> | ||
{{ .Content }} | ||
|
||
<ul class="posts"> | ||
|
||
{{ range .Data.Pages }} | ||
{{ if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) }} | ||
<li class="post"> | ||
<a href="{{ .RelPermalink }}">{{.Title}}</a> | ||
<!-- | ||
<span class="meta">{{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} | ||
<span class="draft-label">DRAFT</span> | ||
{{ end }} | ||
</span> | ||
--> | ||
</li> | ||
{{ end }} | ||
{{ end }} | ||
|
||
</ul> | ||
|
||
{{ end }} | ||
|
||
<!-- Sprungmarke --> | ||
<h3 id="bottom"></h3> | ||
|
||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!-- partial content-single.html --> | ||
|
||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col"> | ||
|
||
<!-- Sprungmarke --> | ||
<h3 id="top"></h3> | ||
|
||
<!-- Layout anzeigen --> | ||
{{ partial "show/layout-single" . }} | ||
|
||
<!-- Navigation --> | ||
{{ partial "navigation-buttons" }} | ||
|
||
|
||
<!-- Title, Subtitle --> | ||
{{ partial "content/title-subtitle" . }} | ||
|
||
<!-- Content --> | ||
<div class="text"> | ||
{{ .Content }} | ||
</div> | ||
|
||
<!-- | ||
{x{ if not .Site.Params.showHugoVariablesAll }} | ||
{x{ .Content }} | ||
{x{ end }} | ||
--> | ||
|
||
<!-- | ||
{x{ .Page.TableOfContents }} | ||
--> | ||
|
||
<!-- Sprungmarke --> | ||
<h3 id="bottom"></h3> | ||
|
||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters