From ee206aff49565a04e3753cf07dcf1787b0dc5850 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Fri, 21 Oct 2016 22:29:31 +0200 Subject: Add Gulp + Journal + sane CSS + complete Rewrite + Piwik etc etc etc. --- layouts/404.html | 2 - layouts/_default/list.html | 26 ++ layouts/_default/single.html | 19 ++ layouts/index.html | 41 ++- layouts/partials/css.tmpl | 672 +------------------------------------------ layouts/partials/footer.tmpl | 22 ++ layouts/projects/single.html | 30 ++ 7 files changed, 127 insertions(+), 685 deletions(-) create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/projects/single.html (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index 63eda66..b40f7ea 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,9 +1,7 @@ {{partial "header.tmpl" .}}

404 - not found


- {{partial "footer.tmpl"}} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..690e09f --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,26 @@ +{{partial "header.tmpl" .}} +
+

journal

+
+ {{ range .Data.Pages }} +
+
+
+
    +
  • +
    {{ .Date.Format "Mon, Jan 2, 2006" }}
    + {{ .Title }} +
    {{.RawContent | plainify | htmlUnescape}}
    +
  • +
+
+
+
+ {{ end }} +
+

+ go back +

+
+{{partial "footer.tmpl"}} + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..0f61d2a --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,19 @@ +{{partial "header.tmpl" .}} +
+

{{.Title}}

+
+
+
+
+
{{ .Date.Format "Mon, Jan 2, 2006" }}
+ {{.RawContent | plainify | htmlUnescape}} +
+
+
+
+

+ back to journal +

+
+{{partial "footer.tmpl"}} + diff --git a/layouts/index.html b/layouts/index.html index 76d78a1..522daf5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,24 +1,21 @@ {{partial "header.tmpl" .}} -

welcome


- +
+

welcome

+
+
+
+
+ my blog +
+
+ projects +
+
+ journal +
+
+ contact +
+
+
{{partial "footer.tmpl"}} - diff --git a/layouts/partials/css.tmpl b/layouts/partials/css.tmpl index ba15e18..a10e818 100644 --- a/layouts/partials/css.tmpl +++ b/layouts/partials/css.tmpl @@ -1,661 +1,11 @@ - - - +{{$tmp := getenv "HUGO_TEST"}} +{{if eq $tmp "1"}} + + + + +{{else}} + +{{end}} diff --git a/layouts/partials/footer.tmpl b/layouts/partials/footer.tmpl index 69aae56..8cc61ad 100644 --- a/layouts/partials/footer.tmpl +++ b/layouts/partials/footer.tmpl @@ -1,3 +1,25 @@ +{{$tmp := getenv "HUGO_TEST"}} +{{if eq $tmp "1"}} +{{else}} + + + + +{{end}} diff --git a/layouts/projects/single.html b/layouts/projects/single.html new file mode 100644 index 0000000..6304f7d --- /dev/null +++ b/layouts/projects/single.html @@ -0,0 +1,30 @@ +{{partial "header.tmpl" .}} +
+

{{.Title}}

+
+
+
+ + +
+
+

+ go back +

+
+
+{{partial "footer.tmpl"}} + -- cgit v1.2.3