From 398eda4992ad73531f39595776c007014b3020c3 Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Sat, 1 Aug 2020 23:19:40 +0200 Subject: Add sass files --- layouts/404.html | 6 ++++++ layouts/_default/list.html | 5 +++++ layouts/_default/single.html | 5 +++++ layouts/index.html | 5 +++++ layouts/partials/footer.html | 6 ++++++ layouts/partials/head.html | 18 ++++++++++++++++++ layouts/partials/header.html | 15 +++++++++++++++ 7 files changed, 60 insertions(+) (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index e69de29..163dae0 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -0,0 +1,6 @@ +{{ define "main" }} +
+

404 Error

+

Page does not exist.

+
+{{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e69de29..2bc2b1e 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -0,0 +1,5 @@ +{{ define "main" }} +
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e69de29..2bc2b1e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -0,0 +1,5 @@ +{{ define "main" }} +
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/index.html b/layouts/index.html index e69de29..2bc2b1e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -0,0 +1,5 @@ +{{ define "main" }} +
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..749441b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,6 @@ +{{ with .Site.Params.footer }} +
+
+ {{ .text }} +
+{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e69de29..2b5566e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -0,0 +1,18 @@ + + + + + {{ .Title }} + + + + + + + {{ $style := resources.Get "sass/researcher.scss" | toCSS | minify }} + + + {{ with .Site.Params.favicon }} + + {{ end }} + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e69de29..45b67a8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -0,0 +1,15 @@ +
+ +
+
-- cgit v1.2.3