Updated links

This commit is contained in:
Vicky 2017-08-12 12:10:55 +07:00
parent 3d7ed05dff
commit c5accbb6cd
5 changed files with 62 additions and 48 deletions

View file

@ -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)

View file

@ -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.

View file

@ -23,26 +23,34 @@
{{ if .Site.Params.sharebuttons }}
<div class="blog-share">
Share this:
{{ if .Site.Params.sharetwitter }}
<a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=Read%20{{ .Title }}%20{{ .Permalink }}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<i class="fa fa-twitter"></i>
<span class="hidden">Twitter</span>
</a>
{{ end }}
{{ if .Site.Params.sharefacebook }}
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<i class="fa fa-facebook"></i>
<span class="hidden">Facebook</span>
</a>
{{ end }}
{{ if .Site.Params.sharepinterest }}
<a class="icon-pinterest" href="http://pinterest.com/pin/create/button/?url={{ .Permalink }}{{ if .Params.pinterestmedia }}&amp;media={{ .Site.BaseURL }}{{ .Params.pinterestmedia }}{{ end }}&amp;description={{ .Title | safeHTML}}"
onclick="window.open(this.href, 'pinterest-share','width=580,height=296');return false;">
<i class="fa fa-pinterest"></i>
<span class="hidden">Pinterest</span>
</a>
{{ end }}
{{ if .Site.Params.sharegoogleplus }}
<a class="icon-google-plus" href="https://plus.google.com/share?url={{ .Permalink }}"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<i class="fa fa-linkedin"></i>
<i class="fa fa-google-plus"></i>
<span class="hidden">Google+</span>
</a>
{{ end }}
</div>
{{ end }}

View file

@ -3,7 +3,7 @@
{{ if .Site.Params.footertext }}
{{ .Site.Params.footertext }}
{{ else }}
<span class="footer-text"><a href="https://github.com/vickylaiio/hugo-theme-introduction" target="_blank">Introduction</a> theme for <a href="http://gohugo.io/" target="_blank">Hugo</a>. Made with <i class="fa fa-heart"></i> and <i class="fa fa-coffee"></i>. <a href="https://vickylai.io" target="_blank">Vicky Lai</a> 2017</span>
<span class="footer-text"><a href="https://github.com/hivickylai/hugo-theme-introduction" target="_blank">Introduction</a> theme for <a href="http://gohugo.io/" target="_blank">Hugo</a>. Made with <i class="fa fa-heart"></i> and <i class="fa fa-coffee"></i>. <a href="https://vickylai.io" target="_blank">Vicky Lai</a> 2017</span>
{{ end }}
</div><!-- End Footer container -->
</div><!-- End Footer section -->

View file

@ -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