diff options
Diffstat (limited to 'themes/hugo-xmin/layouts')
| -rw-r--r-- | themes/hugo-xmin/layouts/404.html | 5 | ||||
| -rw-r--r-- | themes/hugo-xmin/layouts/_default/list.html | 16 | ||||
| -rw-r--r-- | themes/hugo-xmin/layouts/_default/single.html | 12 | ||||
| -rw-r--r-- | themes/hugo-xmin/layouts/_default/terms.html | 13 | ||||
| -rw-r--r-- | themes/hugo-xmin/layouts/index.html | 28 | ||||
| -rw-r--r-- | themes/hugo-xmin/layouts/partials/footer.html | 8 | ||||
| -rw-r--r-- | themes/hugo-xmin/layouts/partials/header.html | 21 |
7 files changed, 0 insertions, 103 deletions
diff --git a/themes/hugo-xmin/layouts/404.html b/themes/hugo-xmin/layouts/404.html deleted file mode 100644 index c2e4e40..0000000 --- a/themes/hugo-xmin/layouts/404.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ partial "header.html" . }} - -404 NOT FOUND - -{{ partial "footer.html" . }} diff --git a/themes/hugo-xmin/layouts/_default/list.html b/themes/hugo-xmin/layouts/_default/list.html deleted file mode 100644 index 6940251..0000000 --- a/themes/hugo-xmin/layouts/_default/list.html +++ /dev/null @@ -1,16 +0,0 @@ -{{ partial "header.html" . }} - -{{ .Content }} - -<ul> - {{ $pages := .Pages }} - {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }} - {{ range (where $pages "Section" "!=" "") }} - <li> - <span class="date">{{ .Date.Format "01/02/2006" }}</span> - <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> - </li> - {{ end }} -</ul> - -{{ partial "footer.html" . }} diff --git a/themes/hugo-xmin/layouts/_default/single.html b/themes/hugo-xmin/layouts/_default/single.html deleted file mode 100644 index a9a9f86..0000000 --- a/themes/hugo-xmin/layouts/_default/single.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ partial "header.html" . }} -<div class="article-meta"> -<h1>{{ .Title | markdownify }}</h1> -{{ with .Params.author }}<p class="author">{{ . }}</p>{{ end }} -{{ if (gt .Params.date 0) }}<p class="date">{{ .Date.Format "01/02/2006" }}</p>{{ end }} -</div> - -<main class="main"> -{{ .Content }} -</main> - -{{ partial "footer.html" . }} diff --git a/themes/hugo-xmin/layouts/_default/terms.html b/themes/hugo-xmin/layouts/_default/terms.html deleted file mode 100644 index 71f47e7..0000000 --- a/themes/hugo-xmin/layouts/_default/terms.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ partial "header.html" . }} - -<h1>{{ .Title }}</h1> - -<ul class="terms"> - {{ range .Data.Terms }} - <li> - <a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a> ({{ .Count }}) - </li> - {{ end }} -</ul> - -{{ partial "footer.html" . }} diff --git a/themes/hugo-xmin/layouts/index.html b/themes/hugo-xmin/layouts/index.html deleted file mode 100644 index dcaf3c2..0000000 --- a/themes/hugo-xmin/layouts/index.html +++ /dev/null @@ -1,28 +0,0 @@ -{{ partial "header.html" . }} - -{{ .Content }} - -<!-- -<h2>Cheat Sheets:</h2> -<ul> - {{ $pages := .Site.RegularPages }} - {{ range (where $pages "Section" "cheatsheets") }} - <li> - <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> - </li> - {{ end }} -</ul> - -<h2>Articles:</h2> -<ul> - {{ $pages := .Site.RegularPages }} - {{ range (where $pages "Section" "articles") }} - <li> - <span class="date">{{ .Date.Format "01/02/2006" }}</span> - <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> - </li> - {{ end }} -</ul> ---> - -{{ partial "footer.html" . }} diff --git a/themes/hugo-xmin/layouts/partials/footer.html b/themes/hugo-xmin/layouts/partials/footer.html deleted file mode 100644 index e8560f2..0000000 --- a/themes/hugo-xmin/layouts/partials/footer.html +++ /dev/null @@ -1,8 +0,0 @@ - <footer> - {{ with .Site.Params.footer }} - <hr/> - {{ replace . "{Year}" now.Year | markdownify}} - {{ end }} - </footer> - </body> -</html> diff --git a/themes/hugo-xmin/layouts/partials/header.html b/themes/hugo-xmin/layouts/partials/header.html deleted file mode 100644 index c7ab268..0000000 --- a/themes/hugo-xmin/layouts/partials/header.html +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<html lang="{{ .Site.LanguageCode }}"> - <head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>{{ .Title }} | {{ .Site.Title }}</title> - <link rel="stylesheet" href="{{ "css/style.css" | relURL }}" /> - <link rel="stylesheet" href="{{ "css/fonts.css" | relURL }}" /> - <link rel="stylesheet" href="{{ "css/syntax.css" | relURL }}" /> - </head> - - <body> - <nav> - <a href="/">Home</a> - <a href="/about/">About</a> - <ul class="menu"> - {{ range .Site.Menus.main }} - <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> - {{ end }} - </ul> - </nav> |