mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 14:42:54 +00:00
Added light and dark themes.
This commit is contained in:
parent
11776e89f2
commit
90b2dd142f
5 changed files with 3 additions and 3 deletions
|
@ -20,6 +20,7 @@ author = "A Clever Author" # Full name shows on blog post pages
|
|||
firstname = "awesome" # First name shows in introduction on main page
|
||||
tagline = "I'm a theme for Hugo." # Appears after the introduction
|
||||
introheight = "large" # Input either 'medium' or 'large' or 'fullheight'
|
||||
theme = "dark" # Choose 'light' or 'dark'
|
||||
avatar = "img/profile.png" # Path to image in static folder eg. img/avatar.png
|
||||
email = "youremail@email.com" # Shows in contact section, or leave blank to omit
|
||||
localtime = true # Show your current local time in contact section
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 31 KiB |
BIN
images/tn.png
BIN
images/tn.png
Binary file not shown.
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 21 KiB |
|
@ -50,14 +50,14 @@
|
|||
{{ if .Site.Params.cachebuster }}
|
||||
|
||||
{{ $t := now.Unix }}
|
||||
<link rel="stylesheet" href="/css/style.css?t={{$t}}">
|
||||
<link rel="stylesheet" href="/css/{{ .Site.Params.theme }}-style.css?t={{$t}}">
|
||||
{{range .Site.Params.extracssfiles}}
|
||||
<link rel="stylesheet" href="{{.}}?t={{$t}}">
|
||||
{{ end }}
|
||||
|
||||
{{ else }}
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/css/{{ .Site.Params.theme }}-style.css">
|
||||
{{range .Site.Params.extracssfiles}}
|
||||
<link rel="stylesheet" href="{{.}}">
|
||||
{{end}}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue