diff --git a/README.md b/README.md index cbff456..205749d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A minimal, single page, smooth scrolling theme for Hugo. -![Main page screenshot](https://github.com/vickylaiio/hugo-theme-introduction/blob/master/images/screenshot.png) +![Main page screenshot](https://github.com/hivickylai/hugo-theme-introduction/blob/master/images/screenshot.png) Features: - Single scrolling home page @@ -21,7 +21,7 @@ Features: From the root of your Hugo site: ```sh $ cd themes -$ git clone https://github.com/vickylaiio/hugo-theme-introduction.git introduction +$ git clone https://github.com/hivickylai/hugo-theme-introduction.git introduction ``` ### Configure your site @@ -66,4 +66,4 @@ $ hugo new blog/your-post.md ``` ## License -This theme is released under the [Creative Commons Attribution 3.0 license.](https://github.com/vickylaiio/hugo-theme-introduction/blob/master/LICENSE.txt) +This theme is released under the [Creative Commons Attribution 3.0 license.](https://github.com/hivickylai/hugo-theme-introduction/blob/master/LICENSE.txt) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 669c850..d28521e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,13 +1,13 @@ -baseurl = "/" # Must end with / -languageCode = "en-us" -title = "Introduction" -theme = "introduction" -enforce_ssl = false -builddrafts = false -canonifyurls = true -contentdir = "content" -layoutdir = "layouts" -publishdir = "public" +baseurl = "/" # Must end with / +languageCode = "en-us" +title = "Introduction" +theme = "introduction" +enforce_ssl = false +builddrafts = false +canonifyurls = true +contentdir = "content" +layoutdir = "layouts" +publishdir = "public" # disqusshortname = "xxx" # Enable Disqus for comments # googleAnalytics = "xxx" @@ -16,44 +16,50 @@ fixed = ":title/" blog = "blog/:slug/" [params] -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, or comment out to remove -email = "youremail@email.com" # Shows in contact section, or leave blank to omit -localtime = true # Show your current local time in contact section -timezone = "America/Los_Angeles" # Your timezone as in the TZ* column of this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones -dateform = "Jan 2, 2006" -dateformfull = "Mon Jan 2 2006 15:04:05 EST" -cachebuster = true # Add the current unix timestamp in query string for cache busting css assets -description = "Website Description" -faviconfile = "img/fav.ico" -highlightjs = true # Syntax highlighting -lang = "en" -footertext = "" # Text to show in footer (overrides default text) -fadein = true # Turn on/off the fade-in effect +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, or comment out to remove +email = "youremail@email.com" # Shows in contact section, or leave blank to omit +localtime = true # Show your current local time in contact section +timezone = "America/Los_Angeles" # Your timezone as in the TZ* column of this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones +dateform = "Jan 2, 2006" +dateformfull = "Mon Jan 2 2006 15:04:05 EST" +cachebuster = true # Add the current unix timestamp in query string for cache busting css assets +description = "Website Description" +faviconfile = "img/fav.ico" +highlightjs = true # Syntax highlighting +lang = "en" +footertext = "" # Text to show in footer (overrides default text) +fadein = true # Turn on/off the fade-in effect -showblog = true # Show Blog section on home page -showallposts = false # Set 'true' to list all posts on home page, or set 'false' to link to separate blog list page -showlatest = true # Show latest blog post summary -sharebuttons = true # On post pages, show share this social buttons +showblog = true # Show Blog section on home page +showallposts = false # Set 'true' to list all posts on home page, or set 'false' to link to separate blog list page +showlatest = true # Show latest blog post summary +sharebuttons = true # On post pages, show share this social buttons + +# Share buttons +sharetwitter = true +sharefacebook = true +sharepinterest = false +sharegoogleplus = true showprojects = true # Show Projects section on home page # This is your projects section. Three images of the same dimensions will look the nicest. If images are omitted, text links will be shown. -project1link = "#" -project1img = "img/project1.jpg" -project1title = "Project 1" +project1link = "#" +project1img = "img/project1.jpg" +project1title = "Project 1" -project2link = "#" -project2img = "img/project2.jpg" -project2title = "Project 2" +project2link = "#" +project2img = "img/project2.jpg" +project2title = "Project 2" -project3link = "#" -project3img = "img/project3.jpg" -project3title = "Project 3" +project3link = "#" +project3img = "img/project3.jpg" +project3title = "Project 3" # Social icons appear in introduction and contact section. Add as many more as you like. diff --git a/layouts/blog/single.html b/layouts/blog/single.html index bb71683..b4703b8 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -23,26 +23,34 @@ {{ if .Site.Params.sharebuttons }}
Share this: + {{ if .Site.Params.sharetwitter }} + {{ end }} + {{ if .Site.Params.sharefacebook }} + {{ end }} + {{ if .Site.Params.sharepinterest }} + {{ end }} + {{ if .Site.Params.sharegoogleplus }} - + + {{ end }}
{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 18b7317..595a66d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@ {{ if .Site.Params.footertext }} {{ .Site.Params.footertext }} {{ else }} - Introduction theme for Hugo. Made with and . Vicky Lai 2017 + Introduction theme for Hugo. Made with and . Vicky Lai 2017 {{ end }} \ No newline at end of file diff --git a/theme.toml b/theme.toml index cbd7c9c..8f20a78 100644 --- a/theme.toml +++ b/theme.toml @@ -3,9 +3,9 @@ name = "Introduction" license = "Creative Commons Attribution 3.0 Unported" -licenselink = "https://github.com/vickylaiio/hugo-theme-introduction/blob/master/LICENSE.md" +licenselink = "https://github.com/hivickylai/hugo-theme-introduction/blob/master/LICENSE.md" description = "Minimal, single page, smooth scrolling theme for Hugo." -homepage = "https://github.com/vickylaiio/hugo-theme-introduction" +homepage = "https://github.com/hivickylai/hugo-theme-introduction" tags = ["clean", "minimal"] features = ["responsive", "single page"] min_version = 0.15