mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-14 08:59:45 +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)
|
||||||
|
|
|
@ -40,6 +40,12 @@ showallposts = false # Set 'true' to list all posts on home page, or set 'fal
|
||||||
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.
|
||||||
|
|
|
@ -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