Jothi Prasath
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
23 additions and
0 deletions
-
assets/css/master.scss
-
exampleSite/config.toml
-
layouts/_default/baseof.html
-
layouts/partials/navbar.html
|
|
|
@ -366,6 +366,22 @@ body { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Navbar |
|
|
|
|
|
|
|
.navbar { |
|
|
|
background-color: #333; |
|
|
|
justify-content: center; |
|
|
|
text-align: center; |
|
|
|
width: 100%; |
|
|
|
height: 40px; |
|
|
|
padding: 10px 16px; |
|
|
|
} |
|
|
|
|
|
|
|
.navbar a { |
|
|
|
color: white; |
|
|
|
text-decoration: none; |
|
|
|
} |
|
|
|
|
|
|
|
// RESPONSIVE |
|
|
|
|
|
|
|
@media (max-aspect-ratio: 1/1) { |
|
|
|
|
|
|
|
@ -2,3 +2,4 @@ title = "Photo Stream" |
|
|
|
theme = "photo-stream" |
|
|
|
[params] |
|
|
|
album_date_format = "2006" |
|
|
|
navbar = false |
|
|
|
@ -2,6 +2,9 @@ |
|
|
|
<html> |
|
|
|
{{- partial "head.html" . -}} |
|
|
|
<body> |
|
|
|
{{ if .Site.Params.navbar }} |
|
|
|
{{- partial "navbar.html" . -}} |
|
|
|
{{ end }} |
|
|
|
{{- block "main" . }}{{- end }} |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
|
|
|
|
@ -0,0 +1,3 @@ |
|
|
|
<div class="navbar"> |
|
|
|
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> |
|
|
|
</div> |