From 6c577a65339ac597ac622fb839393f931562cf8e Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sat, 22 Oct 2016 12:20:46 +0200 Subject: Fix the projects page, improves the piwik script, concats the assets with gulp and styles the 404 template. --- layouts/404.html | 38 ++++++++++++++++++++++++++++++++++---- layouts/_default/list.html | 2 +- layouts/index.html | 6 +++--- layouts/partials/css.tmpl | 7 ++++++- layouts/partials/footer.tmpl | 8 +++----- layouts/projects.html | 39 --------------------------------------- layouts/projects/single.html | 32 ++++++++++++++++---------------- 7 files changed, 63 insertions(+), 69 deletions(-) delete mode 100644 layouts/projects.html (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index b40f7ea..3171635 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,7 +1,37 @@ {{partial "header.tmpl" .}} -

404 - not found


-

- click to go back -

+
+

404 - not found

+
+ +
+
+
+
    +
  • +
    Here is nothing.
    +
    +
    +_                ___       _.--. 
    +\`.|\..----...-'`   `-._.-'_.-'` 
    +/  ' `         ,       __.--'    
    +)/' _/     \   `-_,   /          
    +`-'" `"\_  ,_.-;_.-\_ ',         
    +    _.-'_./   {_.'   ; /         
    +   {_.-``-'         {_/          
    +   ~~~~~~          ~~~~~         
    +					
    +
  • +
+
+
+
+ +
+
+

+ click to go back +

+
+
{{partial "footer.tmpl"}} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 690e09f..4f9b3aa 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,6 @@ {{partial "header.tmpl" .}}
-

journal

+

journal

{{ range .Data.Pages }}
diff --git a/layouts/index.html b/layouts/index.html index 522daf5..94aa532 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,13 +7,13 @@
my blog
-
+ -
+ - diff --git a/layouts/partials/css.tmpl b/layouts/partials/css.tmpl index a10e818..45efad7 100644 --- a/layouts/partials/css.tmpl +++ b/layouts/partials/css.tmpl @@ -6,6 +6,11 @@ {{else}} {{end}} diff --git a/layouts/partials/footer.tmpl b/layouts/partials/footer.tmpl index 8cc61ad..408626b 100644 --- a/layouts/partials/footer.tmpl +++ b/layouts/partials/footer.tmpl @@ -1,7 +1,6 @@ {{$tmp := getenv "HUGO_TEST"}} {{if eq $tmp "1"}} {{else}} - - + - {{end}} diff --git a/layouts/projects.html b/layouts/projects.html deleted file mode 100644 index 103c7e0..0000000 --- a/layouts/projects.html +++ /dev/null @@ -1,39 +0,0 @@ - -{{partial "header.tmpl" "projects"}} -

projects


- -{{partial "footer.tmpl"}} diff --git a/layouts/projects/single.html b/layouts/projects/single.html index 6304f7d..71030c8 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -2,23 +2,23 @@

{{.Title}}

-