From d10991279884840f873840c8c4ce9ee2fc80c9a6 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 2 May 2017 08:49:18 +0200 Subject: [PATCH] Remove hugo layout files --- blog/layouts/404.html | 11 ---- blog/layouts/_default/link.html | 1 - blog/layouts/_default/section.html | 11 ---- blog/layouts/additional-resource/single.html | 11 ---- blog/layouts/index.html | 56 -------------------- blog/layouts/old-posts/single.html | 28 ---------- blog/layouts/old-posts/teaser.html | 10 ---- blog/layouts/page/single.html | 10 ---- blog/layouts/partials/analytics.html | 10 ---- blog/layouts/partials/anchorjs.html | 6 --- blog/layouts/partials/disqus.html | 17 ------ blog/layouts/partials/footer.html | 13 ----- blog/layouts/partials/head.html | 40 -------------- blog/layouts/partials/header.html | 18 ------- blog/layouts/partials/recent-updates.html | 0 blog/layouts/post/single.html | 28 ---------- blog/layouts/post/teaser.html | 10 ---- blog/layouts/rss.xml | 24 --------- 18 files changed, 304 deletions(-) delete mode 100644 blog/layouts/404.html delete mode 100644 blog/layouts/_default/link.html delete mode 100644 blog/layouts/_default/section.html delete mode 100644 blog/layouts/additional-resource/single.html delete mode 100644 blog/layouts/index.html delete mode 100644 blog/layouts/old-posts/single.html delete mode 100644 blog/layouts/old-posts/teaser.html delete mode 100644 blog/layouts/page/single.html delete mode 100644 blog/layouts/partials/analytics.html delete mode 100644 blog/layouts/partials/anchorjs.html delete mode 100644 blog/layouts/partials/disqus.html delete mode 100644 blog/layouts/partials/footer.html delete mode 100644 blog/layouts/partials/head.html delete mode 100644 blog/layouts/partials/header.html delete mode 100644 blog/layouts/partials/recent-updates.html delete mode 100644 blog/layouts/post/single.html delete mode 100644 blog/layouts/post/teaser.html delete mode 100644 blog/layouts/rss.xml diff --git a/blog/layouts/404.html b/blog/layouts/404.html deleted file mode 100644 index 518eb4f0..00000000 --- a/blog/layouts/404.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ partial "header.html" . }} - -

Page not found

-

- Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. - Head back home to try finding it again. -

- -

If you followed a link on this site, please report it! - -{{ partial "footer.html" . }} diff --git a/blog/layouts/_default/link.html b/blog/layouts/_default/link.html deleted file mode 100644 index 82ced2f4..00000000 --- a/blog/layouts/_default/link.html +++ /dev/null @@ -1 +0,0 @@ -{{ .Title }} diff --git a/blog/layouts/_default/section.html b/blog/layouts/_default/section.html deleted file mode 100644 index 518eb4f0..00000000 --- a/blog/layouts/_default/section.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ partial "header.html" . }} - -

Page not found

-

- Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. - Head back home to try finding it again. -

- -

If you followed a link on this site, please report it! - -{{ partial "footer.html" . }} diff --git a/blog/layouts/additional-resource/single.html b/blog/layouts/additional-resource/single.html deleted file mode 100644 index 83278b21..00000000 --- a/blog/layouts/additional-resource/single.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ partial "header.html" . }} - -

-

{{ .Title }}

- - {{ .Content }} -
- -{{ partial "disqus.html" . }} -{{ partial "anchorjs.html" . }} -{{ partial "footer.html" . }} diff --git a/blog/layouts/index.html b/blog/layouts/index.html deleted file mode 100644 index 9d86a39b..00000000 --- a/blog/layouts/index.html +++ /dev/null @@ -1,56 +0,0 @@ -{{ partial "header.html" . }} - -

- This blog series creates a small operating system in the - Rust programming language. Each post - is a small tutorial and includes all needed code, so you can follow along if - you like. The source code is also available in the corresponding - Github repository. -

-

Latest post: {{ range first 1 (where .Site.Pages "Section" "post") }} - {{ .Title }} - {{ end }} -

- -
Bare Bones
-
- {{ range first 4 (where .Site.Pages.ByDate "Section" "post") }} - {{ .Render "teaser" }} - {{ end }} -
- -
Memory Management
-
- {{ range first 4 (after 4 (where .Site.Pages.ByDate "Section" "post")) }} - {{ .Render "teaser" }} - {{ end }} -
- -
Exceptions
-
- {{ range first 1 (after 9 (where .Site.Pages.ByDate "Section" "post")) }} - {{ .Render "teaser" }} - {{ end }} - {{ range first 1 (after 8 (where .Site.Pages.ByDate "Section" "post")) }} - {{ .Render "teaser" }} - {{ end }} -
- -
-

Additional Resources

- - - -
- - -
- -{{ partial "footer.html" . }} diff --git a/blog/layouts/old-posts/single.html b/blog/layouts/old-posts/single.html deleted file mode 100644 index d8e2c7a8..00000000 --- a/blog/layouts/old-posts/single.html +++ /dev/null @@ -1,28 +0,0 @@ -{{ partial "header.html" . }} - -
-

{{ .Title }}

- - - {{ .Content }} -
- -
- -
- -{{ partial "disqus.html" . }} -{{ partial "anchorjs.html" . }} -{{ partial "footer.html" . }} diff --git a/blog/layouts/old-posts/teaser.html b/blog/layouts/old-posts/teaser.html deleted file mode 100644 index 795e27ad..00000000 --- a/blog/layouts/old-posts/teaser.html +++ /dev/null @@ -1,10 +0,0 @@ -
-

- - {{ .Title }} - -

- - {{ .Summary }} - -
diff --git a/blog/layouts/page/single.html b/blog/layouts/page/single.html deleted file mode 100644 index a091108c..00000000 --- a/blog/layouts/page/single.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ partial "header.html" . }} - -
-

{{ .Title }}

- - {{ .Content }} -
- -{{ partial "anchorjs.html" . }} -{{ partial "footer.html" . }} diff --git a/blog/layouts/partials/analytics.html b/blog/layouts/partials/analytics.html deleted file mode 100644 index c226e17a..00000000 --- a/blog/layouts/partials/analytics.html +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/blog/layouts/partials/anchorjs.html b/blog/layouts/partials/anchorjs.html deleted file mode 100644 index fb6093e3..00000000 --- a/blog/layouts/partials/anchorjs.html +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/blog/layouts/partials/disqus.html b/blog/layouts/partials/disqus.html deleted file mode 100644 index 6973517f..00000000 --- a/blog/layouts/partials/disqus.html +++ /dev/null @@ -1,17 +0,0 @@ -
- - diff --git a/blog/layouts/partials/footer.html b/blog/layouts/partials/footer.html deleted file mode 100644 index 35a5819f..00000000 --- a/blog/layouts/partials/footer.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - diff --git a/blog/layouts/partials/head.html b/blog/layouts/partials/head.html deleted file mode 100644 index 6ea2cc9a..00000000 --- a/blog/layouts/partials/head.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - {{ with .Site.Params.author }}{{ end }} - {{ with .Site.Params.description }}{{ end }} - - - {{ .Title }}{{ if not .IsHome }} · {{ .Site.Title }}{{end}} - - - - - - - - - - - - - - - - - - - - - {{ partial "analytics.html" . }} - - - - diff --git a/blog/layouts/partials/header.html b/blog/layouts/partials/header.html deleted file mode 100644 index 6c024b65..00000000 --- a/blog/layouts/partials/header.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -{{ partial "head.html" . }} - -
- -
-

- {{ .Site.Title }} - - RSS - - {{ replace .Site.Params.subtitle " " " " | safeHTML }} -

-
- -
diff --git a/blog/layouts/partials/recent-updates.html b/blog/layouts/partials/recent-updates.html deleted file mode 100644 index e69de29b..00000000 diff --git a/blog/layouts/post/single.html b/blog/layouts/post/single.html deleted file mode 100644 index d8e2c7a8..00000000 --- a/blog/layouts/post/single.html +++ /dev/null @@ -1,28 +0,0 @@ -{{ partial "header.html" . }} - -
-

{{ .Title }}

- - - {{ .Content }} -
- -
- -
- -{{ partial "disqus.html" . }} -{{ partial "anchorjs.html" . }} -{{ partial "footer.html" . }} diff --git a/blog/layouts/post/teaser.html b/blog/layouts/post/teaser.html deleted file mode 100644 index 795e27ad..00000000 --- a/blog/layouts/post/teaser.html +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/blog/layouts/rss.xml b/blog/layouts/rss.xml deleted file mode 100644 index 06575193..00000000 --- a/blog/layouts/rss.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - {{ .Site.Title }} - {{ .Permalink }} - Recent content on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - - {{ range first 15 (where .Data.Pages "Section" "post") }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Content | html }} - - {{ end }} - -