mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +00:00
Updated links
This commit is contained in:
parent
3d7ed05dff
commit
c5accbb6cd
5 changed files with 62 additions and 48 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
A minimal, single page, smooth scrolling theme for Hugo.
|
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:
|
Features:
|
||||||
- Single scrolling home page
|
- Single scrolling home page
|
||||||
|
@ -21,7 +21,7 @@ Features:
|
||||||
From the root of your Hugo site:
|
From the root of your Hugo site:
|
||||||
```sh
|
```sh
|
||||||
$ cd themes
|
$ 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
|
### Configure your site
|
||||||
|
@ -66,4 +66,4 @@ $ hugo new blog/your-post.md
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## 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)
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
baseurl = "/" # Must end with /
|
baseurl = "/" # Must end with /
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Introduction"
|
title = "Introduction"
|
||||||
theme = "introduction"
|
theme = "introduction"
|
||||||
enforce_ssl = false
|
enforce_ssl = false
|
||||||
builddrafts = false
|
builddrafts = false
|
||||||
canonifyurls = true
|
canonifyurls = true
|
||||||
contentdir = "content"
|
contentdir = "content"
|
||||||
layoutdir = "layouts"
|
layoutdir = "layouts"
|
||||||
publishdir = "public"
|
publishdir = "public"
|
||||||
# disqusshortname = "xxx" # Enable Disqus for comments
|
# disqusshortname = "xxx" # Enable Disqus for comments
|
||||||
# googleAnalytics = "xxx"
|
# googleAnalytics = "xxx"
|
||||||
|
|
||||||
|
@ -16,44 +16,50 @@ fixed = ":title/"
|
||||||
blog = "blog/:slug/"
|
blog = "blog/:slug/"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
author = "A Clever Author" # Full name shows on blog post pages
|
author = "A Clever Author" # Full name shows on blog post pages
|
||||||
firstname = "awesome" # First name shows in introduction on main page
|
firstname = "awesome" # First name shows in introduction on main page
|
||||||
tagline = "I'm a theme for Hugo." # Appears after the introduction
|
tagline = "I'm a theme for Hugo." # Appears after the introduction
|
||||||
introheight = "large" # Input either 'medium' or 'large' or 'fullheight'
|
introheight = "large" # Input either 'medium' or 'large' or 'fullheight'
|
||||||
theme = "dark" # Choose 'light' or 'dark'
|
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
|
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
|
email = "youremail@email.com" # Shows in contact section, or leave blank to omit
|
||||||
localtime = true # Show your current local time in contact section
|
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
|
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"
|
dateform = "Jan 2, 2006"
|
||||||
dateformfull = "Mon Jan 2 2006 15:04:05 EST"
|
dateformfull = "Mon Jan 2 2006 15:04:05 EST"
|
||||||
cachebuster = true # Add the current unix timestamp in query string for cache busting css assets
|
cachebuster = true # Add the current unix timestamp in query string for cache busting css assets
|
||||||
description = "Website Description"
|
description = "Website Description"
|
||||||
faviconfile = "img/fav.ico"
|
faviconfile = "img/fav.ico"
|
||||||
highlightjs = true # Syntax highlighting
|
highlightjs = true # Syntax highlighting
|
||||||
lang = "en"
|
lang = "en"
|
||||||
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
|
||||||
|
|
||||||
showblog = true # Show Blog section on home page
|
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
|
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
|
showlatest = true # Show latest blog post summary
|
||||||
sharebuttons = true # On post pages, show share this social buttons
|
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
|
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.
|
# 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 = "#"
|
project1link = "#"
|
||||||
project1img = "img/project1.jpg"
|
project1img = "img/project1.jpg"
|
||||||
project1title = "Project 1"
|
project1title = "Project 1"
|
||||||
|
|
||||||
project2link = "#"
|
project2link = "#"
|
||||||
project2img = "img/project2.jpg"
|
project2img = "img/project2.jpg"
|
||||||
project2title = "Project 2"
|
project2title = "Project 2"
|
||||||
|
|
||||||
project3link = "#"
|
project3link = "#"
|
||||||
project3img = "img/project3.jpg"
|
project3img = "img/project3.jpg"
|
||||||
project3title = "Project 3"
|
project3title = "Project 3"
|
||||||
|
|
||||||
|
|
||||||
# Social icons appear in introduction and contact section. Add as many more as you like.
|
# Social icons appear in introduction and contact section. Add as many more as you like.
|
||||||
|
|
|
@ -23,26 +23,34 @@
|
||||||
{{ if .Site.Params.sharebuttons }}
|
{{ if .Site.Params.sharebuttons }}
|
||||||
<div class="blog-share">
|
<div class="blog-share">
|
||||||
Share this:
|
Share this:
|
||||||
|
{{ if .Site.Params.sharetwitter }}
|
||||||
<a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=Read%20{{ .Title }}%20{{ .Permalink }}"
|
<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;">
|
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
|
||||||
<i class="fa fa-twitter"></i>
|
<i class="fa fa-twitter"></i>
|
||||||
<span class="hidden">Twitter</span>
|
<span class="hidden">Twitter</span>
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ if .Site.Params.sharefacebook }}
|
||||||
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"
|
<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;">
|
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
|
||||||
<i class="fa fa-facebook"></i>
|
<i class="fa fa-facebook"></i>
|
||||||
<span class="hidden">Facebook</span>
|
<span class="hidden">Facebook</span>
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ if .Site.Params.sharepinterest }}
|
||||||
<a class="icon-pinterest" href="http://pinterest.com/pin/create/button/?url={{ .Permalink }}{{ if .Params.pinterestmedia }}&media={{ .Site.BaseURL }}{{ .Params.pinterestmedia }}{{ end }}&description={{ .Title | safeHTML}}"
|
<a class="icon-pinterest" href="http://pinterest.com/pin/create/button/?url={{ .Permalink }}{{ if .Params.pinterestmedia }}&media={{ .Site.BaseURL }}{{ .Params.pinterestmedia }}{{ end }}&description={{ .Title | safeHTML}}"
|
||||||
onclick="window.open(this.href, 'pinterest-share','width=580,height=296');return false;">
|
onclick="window.open(this.href, 'pinterest-share','width=580,height=296');return false;">
|
||||||
<i class="fa fa-pinterest"></i>
|
<i class="fa fa-pinterest"></i>
|
||||||
<span class="hidden">Pinterest</span>
|
<span class="hidden">Pinterest</span>
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ if .Site.Params.sharegoogleplus }}
|
||||||
<a class="icon-google-plus" href="https://plus.google.com/share?url={{ .Permalink }}"
|
<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;">
|
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>
|
<span class="hidden">Google+</span>
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{ if .Site.Params.footertext }}
|
{{ if .Site.Params.footertext }}
|
||||||
{{ .Site.Params.footertext }}
|
{{ .Site.Params.footertext }}
|
||||||
{{ else }}
|
{{ 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 }}
|
{{ end }}
|
||||||
</div><!-- End Footer container -->
|
</div><!-- End Footer container -->
|
||||||
</div><!-- End Footer section -->
|
</div><!-- End Footer section -->
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
name = "Introduction"
|
name = "Introduction"
|
||||||
license = "Creative Commons Attribution 3.0 Unported"
|
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."
|
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"]
|
tags = ["clean", "minimal"]
|
||||||
features = ["responsive", "single page"]
|
features = ["responsive", "single page"]
|
||||||
min_version = 0.15
|
min_version = 0.15
|
||||||
|
|
Loading…
Reference in a new issue