From 20d33818a838a7c022456d5620d255283531ba97 Mon Sep 17 00:00:00 2001 From: Darin Dimitroff Date: Mon, 2 Jan 2017 16:09:21 +0200 Subject: WIP --- site/layouts/partials/2-up.html | 2 +- site/layouts/partials/4-up.html | 2 +- site/layouts/partials/about.html | 2 +- site/layouts/partials/blog.html | 22 ++++++++++++++++++++++ site/layouts/partials/footer.html | 13 ++++++------- site/layouts/partials/media-block-reverse.html | 6 +++--- site/layouts/partials/media-block.html | 6 +++--- site/layouts/partials/nav.html | 18 +++++++++--------- site/layouts/partials/newsletter-form.html | 10 ++++++++++ site/layouts/partials/post.html | 22 ---------------------- site/layouts/partials/social-icon.html | 4 ++-- 11 files changed, 58 insertions(+), 49 deletions(-) create mode 100644 site/layouts/partials/blog.html create mode 100644 site/layouts/partials/newsletter-form.html delete mode 100644 site/layouts/partials/post.html (limited to 'site/layouts/partials') diff --git a/site/layouts/partials/2-up.html b/site/layouts/partials/2-up.html index d4f30fe..06849f0 100644 --- a/site/layouts/partials/2-up.html +++ b/site/layouts/partials/2-up.html @@ -17,7 +17,7 @@ {{ if .buttonText }}
- {{.buttonText}} + {{.buttonText}}
{{ end }} diff --git a/site/layouts/partials/4-up.html b/site/layouts/partials/4-up.html index dff48b4..dcfbbbf 100644 --- a/site/layouts/partials/4-up.html +++ b/site/layouts/partials/4-up.html @@ -29,7 +29,7 @@ {{ if .buttonText }}
- {{.buttonText}} + {{.buttonText}}
{{ end }} diff --git a/site/layouts/partials/about.html b/site/layouts/partials/about.html index 657aead..ff3bd7c 100644 --- a/site/layouts/partials/about.html +++ b/site/layouts/partials/about.html @@ -14,7 +14,7 @@
- {{.buttonText}} + {{.buttonText}}
diff --git a/site/layouts/partials/blog.html b/site/layouts/partials/blog.html new file mode 100644 index 0000000..dd34f7d --- /dev/null +++ b/site/layouts/partials/blog.html @@ -0,0 +1,22 @@ +
+
+ +

Latests stories

+ + +
+ + {{ range where .Data.Pages "Type" "post" }} +
+ {{ .Render "li" }} +
+ {{ end }} + +
+ +
+ Read more +
+ +
+
diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html index 629e288..8c67d06 100644 --- a/site/layouts/partials/footer.html +++ b/site/layouts/partials/footer.html @@ -1,21 +1,19 @@