diff options
author | 10mohi6 <10.mohi.6.y@gmail.com> | 2020-05-28 08:56:10 +0300 |
---|---|---|
committer | 10mohi6 <10.mohi.6.y@gmail.com> | 2020-05-28 08:56:10 +0300 |
commit | 5facec02458ace3c279fcbc9e82326dfbb67ba40 (patch) | |
tree | 33aa289f6f2cbad46a70af39b06d3d906f908c38 /layouts/partials |
first commit
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 9 | ||||
-rw-r--r-- | layouts/partials/header.html | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..89bf318 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,9 @@ +<footer class="text-center bg-dark pt-5"> + <a href="{{ .Site.BaseURL }}" class="text-muted">Home</a> + {{ range .Site.Menus.main }} + <a href="{{ .URL }}" class="text-muted pl-4">{{ .Name }}</a> + {{ end }} + <p class="pb-4 pt-4 mb-0">{{ .Site.Copyright }} <a href="https://gohugo.io/" class="text-reset">hugo</a> <a href="https://10mohi6.tk" class="text-reset">10mohi6</a> <a href="https://github.com/10mohi6/hugo-theme-simple-blog" class="text-reset">simple-blog</a></p> +</footer> +</body> +</html> diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..d6eb843 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,10 @@ +<!doctype html> +<html lang="{{ .Site.LanguageCode }}"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> + <link href="{{ .Site.BaseURL }}css/bootstrap.css" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"> + </head> + <body> |