diff options
author | 10mohi6 <10.mohi.6.y@gmail.com> | 2020-06-16 08:22:12 +0300 |
---|---|---|
committer | 10mohi6 <10.mohi.6.y@gmail.com> | 2020-06-16 08:22:12 +0300 |
commit | 86b4f6f6d73401628db976b6259d85309d672597 (patch) | |
tree | c81f682b4fb92c79b238eaa9a705cb6e6bfd1138 /layouts/partials | |
parent | f7dfdeff15f309e335d10a96eb5085a73cf921cd (diff) |
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 35 | ||||
-rw-r--r-- | layouts/partials/header.html | 11 |
2 files changed, 34 insertions, 12 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5651794..cb58bb0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,9 +1,30 @@ -<footer class="text-center bg-dark pt-5 col-12"> - <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 class="site-footer mt-5"> + <div class="container"> + <div class="row justify-content-md-between"> + <div class="col-sm-12 col-md-4 mb-4"> + <h2 class="h5 mb-3">{{ .Site.Title }}</h2> + <p>{{.Site.Params.Description}}</p> + </div> + <div class="col-4 col-md-2 mb-4"> + <h2 class="h5 mb-3">Menu</h2> + <ul class="nav flex-column"> + <li class="mb-1"><a href="{{ .Site.BaseURL }}" class="text-secondary">Home</a></li> + {{ range .Site.Menus.main }} + <li class="mb-1"><a href="{{ .URL }}" class="text-secondary">{{ .Name }}</a></li> + {{ end }} + </ul> + </div> + </div> + + <hr/> + + <div class="d-flex flex-column flex-sm-row justify-content-sm-between align-items-center"> + <div class="text-muted mb-3"> + {{ .Site.Copyright }} + <a href="https://10mohi6.tk" class="text-reset">design</a> <a href="https://github.com/10mohi6/hugo-theme-simple-blog" class="text-reset">theme</a></p> + </div> + </div> + </div> </footer> </body> -</html> +</html>
\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d6eb843..2666f13 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,10 +1,11 @@ <!doctype html> <html lang="{{ .Site.LanguageCode }}"> - <head> +<head> + <title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> <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> + <link rel="stylesheet" href="{{ $.Site.BaseURL }}css/bootstrap.css"> + <link rel="stylesheet" href="{{ $.Site.BaseURL }}css/custom.css"> +</head> +<body> |