mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +00:00
Merge branch 'master' into fix_nav_2
This commit is contained in:
commit
7e801f02a3
3 changed files with 19 additions and 30 deletions
|
@ -1,12 +1,12 @@
|
||||||
baseurl = "/" # Your domain name. Must end with "/"
|
baseURL = "https://example.org/" # Your domain name. Must end with "/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us" # languageCode
|
||||||
title = "Introduction"
|
title = "Introduction" # Site title
|
||||||
theme = "introduction"
|
theme = "introduction"
|
||||||
|
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
|
||||||
|
pygmentsCodefences = true
|
||||||
enforce_ssl = false
|
enforce_ssl = false
|
||||||
builddrafts = false # Include pages with draft status of true
|
# disqusshortname = "" # Enable Disqus for comments https://gohugo.io/content-management/comments
|
||||||
canonifyurls = true # Turns relative urls into absolute urls
|
# googleAnalytics = "" # Enable Google Analytics https://gohugo.io/templates/internal/#google-analytics
|
||||||
# disqusshortname = "xxx" # Enable Disqus for comments
|
|
||||||
# googleAnalytics = "xxx"
|
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
blogHead = "Blog" # Full name shows on blog post pages
|
blogHead = "Blog" # Full name shows on blog post pages
|
||||||
|
@ -23,9 +23,7 @@ canonifyurls = true # Turns relative url
|
||||||
cacheBuster = false # Add the current unix timestamp in query string for cache busting css assets (relevant in development mode)
|
cacheBuster = false # Add the current unix timestamp in query string for cache busting css assets (relevant in development mode)
|
||||||
description = "Website Description" # Max 160 characters show in search results
|
description = "Website Description" # Max 160 characters show in search results
|
||||||
faviconFile = "img/fav.ico"
|
faviconFile = "img/fav.ico"
|
||||||
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
|
footerText = "" # Text to override default footer text (markdown allowed)
|
||||||
pygmentsCodefences = true
|
|
||||||
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"]
|
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
|
||||||
|
|
||||||
|
@ -48,13 +46,13 @@ canonifyurls = true # Turns relative url
|
||||||
# Find icon names here: http://fontawesome.io/cheatsheet/
|
# Find icon names here: http://fontawesome.io/cheatsheet/
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
url = "https://twitter.com/"
|
url = "https://twitter.com/"
|
||||||
icon = "twitter"
|
icon = "twitter"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
url = "https://facebook.com/"
|
url = "https://facebook.com/"
|
||||||
icon = "facebook"
|
icon = "facebook"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
url = "https://linkedin.com/"
|
url = "https://linkedin.com/"
|
||||||
icon = "linkedin"
|
icon = "linkedin"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<div class="section" id="footer"><!-- Begin Footer section -->
|
<div class="section" id="footer"><!-- Begin Footer section -->
|
||||||
<div class="container has-text-centered"><!-- Begin Footer container -->
|
<div class="container has-text-centered"><!-- Begin Footer container -->
|
||||||
{{ if .Site.Params.footerText }}
|
{{ if .Site.Params.footerText }}
|
||||||
{{ .Site.Params.footerText }}
|
{{ .Site.Params.footerText | markdownify }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<span class="footer-text"><a href="https://github.com/vickylai/hugo-theme-introduction" target="_blank" rel="noopener">Introduction</a> theme for <a href="http://gohugo.io/" target="_blank" rel="noopener">Hugo</a>. Made with <i class="fa fa-heart"></i> and <i class="fa fa-coffee"></i> by <a href="https://vickylai.com" target="_blank" rel="noopener">Vicky Lai</a>.</span>
|
<span class="footer-text"><a href="https://github.com/vickylai/hugo-theme-introduction" target="_blank" rel="noopener">Introduction</a> theme for <a href="http://gohugo.io/" target="_blank" rel="noopener">Hugo</a>. Made with <i class="fa fa-heart"></i> and <i class="fa fa-coffee"></i> by <a href="https://vickylai.com" target="_blank" rel="noopener">Vicky Lai</a>.</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div><!-- End Footer container -->
|
</div><!-- End Footer container -->
|
||||||
</div><!-- End Footer section -->
|
</div><!-- End Footer section -->
|
||||||
|
|
17
theme.toml
17
theme.toml
|
@ -1,21 +1,12 @@
|
||||||
# theme.toml template for a Hugo theme
|
|
||||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
|
||||||
|
|
||||||
name = "Introduction"
|
name = "Introduction"
|
||||||
license = "Creative Commons Attribution 3.0 Unported"
|
license = "GNU Affero General Public License version 3"
|
||||||
licenselink = "https://github.com/vickylai/hugo-theme-introduction/blob/master/LICENSE.md"
|
licenselink = "https://github.com/vickylai/hugo-theme-introduction/blob/master/LICENSE"
|
||||||
description = "Minimal, single page, smooth scrolling theme for Hugo."
|
description = "Minimal, single page, smooth scrolling theme for Hugo."
|
||||||
homepage = "https://github.com/vickylai/hugo-theme-introduction"
|
homepage = "https://github.com/vickylai/hugo-theme-introduction"
|
||||||
tags = ["clean", "simple", "minimal", "minimalist", "responsive", "single page", "syntax highlighting", "projects", "starter", "white", "dark"]
|
tags = ["clean", "simple", "minimal", "minimalist", "responsive", "single page", "syntax highlighting", "projects", "starter", "white", "dark"]
|
||||||
features = ["responsive", "single page"]
|
features = ["responsive", "blog", "portfolio"]
|
||||||
min_version = "0.30"
|
min_version = "0.30"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Vicky Lai"
|
name = "Vicky Lai"
|
||||||
homepage = "https://vickylai.com"
|
homepage = "https://vickylai.com"
|
||||||
|
|
||||||
# If porting an existing theme
|
|
||||||
[original]
|
|
||||||
name = ""
|
|
||||||
homepage = ""
|
|
||||||
repo = ""
|
|
Loading…
Reference in a new issue