mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-13 00:39:45 +00:00
Allow custom css files (#35)
This commit is contained in:
parent
f4568a4589
commit
bd73c0f47b
2 changed files with 7 additions and 1 deletions
|
@ -27,6 +27,7 @@ canonifyurls = true # Turns relative urls in
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
footertext = "" # Text to show in footer (overrides default text)
|
footertext = "" # Text to show in footer (overrides default text)
|
||||||
fadein = true # Turn on/off the fade-in effect
|
fadein = true # Turn on/off the fade-in effect
|
||||||
|
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
|
||||||
|
|
||||||
showblog = true # Show Blog section on home page
|
showblog = true # Show Blog section on home page
|
||||||
showprojects = true # Show Projects section on home page
|
showprojects = true # Show Projects section on home page
|
||||||
|
@ -55,4 +56,4 @@ canonifyurls = true # Turns relative urls in
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
url = "https://linkedin.com/"
|
url = "https://linkedin.com/"
|
||||||
icon = "linkedin"
|
icon = "linkedin"
|
||||||
|
|
|
@ -60,6 +60,11 @@ crossorigin="anonymous"></script>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Custom css -->
|
||||||
|
{{ range .Site.Params.customCSS -}}
|
||||||
|
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
<!-- Icon -->
|
<!-- Icon -->
|
||||||
<link rel="shortcut icon"
|
<link rel="shortcut icon"
|
||||||
{{ if .Site.Params.faviconFile }}
|
{{ if .Site.Params.faviconFile }}
|
||||||
|
|
Loading…
Reference in a new issue