mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-22 03:42:53 +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
|
||||
footertext = "" # Text to show in footer (overrides default text)
|
||||
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
|
||||
showprojects = true # Show Projects section on home page
|
||||
|
@ -55,4 +56,4 @@ canonifyurls = true # Turns relative urls in
|
|||
|
||||
[[params.social]]
|
||||
url = "https://linkedin.com/"
|
||||
icon = "linkedin"
|
||||
icon = "linkedin"
|
||||
|
|
|
@ -60,6 +60,11 @@ crossorigin="anonymous"></script>
|
|||
|
||||
{{ end }}
|
||||
|
||||
<!-- Custom css -->
|
||||
{{ range .Site.Params.customCSS -}}
|
||||
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||
{{- end }}
|
||||
|
||||
<!-- Icon -->
|
||||
<link rel="shortcut icon"
|
||||
{{ if .Site.Params.faviconFile }}
|
||||
|
|
Loading…
Reference in a new issue