diff options
author | Hugo Aguirre <bul.ikana@gmail.com> | 2018-09-29 07:16:12 +0300 |
---|---|---|
committer | Hugo Aguirre <bul.ikana@gmail.com> | 2018-09-29 07:16:12 +0300 |
commit | 32f4db680e4f96e6c6e727cff308508ab73d2fe8 (patch) | |
tree | 995810761023f21fb0e805dbb3ae6b350550e232 /layouts | |
parent | 2c5335d5635ae3a404849d96a893e1264819ab7e (diff) |
Add css to theme
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 24 | ||||
-rw-r--r-- | layouts/partials/head.html | 11 |
2 files changed, 35 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html index e69de29..3645548 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> + + {{ partial "head.html" }} + + <body> + + { partial "header.html" }} + + <div class="container"> + <div class="wrapper"> + { content }} + </div> + </div> + + {include "footer.html" }} + + + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> + <script src="{site.baseurl}}/js/bootstrap.min.js"></script> + { if site.analytics %}{% include analytics.html %}{% endif %} + </body> + +</html>
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..cb2b770 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,11 @@ +<head> +<meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1"> + +<!-- {% seo %} --> + +{{ $main := resources.Get "sass/main.scss" | resources.ToCSS (dict "outputStyle" "compressed")}} +<link rel="stylesheet" href="{{ $main.RelPermalink }}"> +<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> +</head> |