diff options
author | Vicky <vicky@vickylai.com> | 2017-04-20 06:47:18 +0300 |
---|---|---|
committer | Vicky <vicky@vickylai.com> | 2017-04-20 06:47:18 +0300 |
commit | faf627d2c8991ed6d84c81accb04b761045aa5df (patch) | |
tree | 070c425d9b64ee20e97a893e6606ed55ef1304f2 | |
parent | 87faa199b9443a1334b3d6413376483332d9a889 (diff) |
Added Changelog
-rw-r--r-- | CHANGELOG.md | 13 | ||||
-rw-r--r-- | exampleSite/config.toml | 27 | ||||
-rw-r--r-- | layouts/partials/social.html | 27 |
3 files changed, 35 insertions, 32 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c654661 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +#Version 2.00 - April 20 2017 + +- Load speed improvements: + - Lighter smooth scrolling effect using a little jQuery +- Added option to show author's local time in Contact section +- Social icons are now totally customizable via config - add as many as you want + +#Version 1.00 - March 25 2017 + +- Standardized layout using bulma +- Minified CSS for faster loading +- Responsive hamburger menu on mobile view +- Choose your header height via config
\ No newline at end of file diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 180d036..0075cbe 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -22,6 +22,8 @@ tagline = "I'm a theme for Hugo." # Appears after the introduction introheight = "large" # Input either 'medium' or 'large' or 'fullheight' avatar = "img/profile.png" # Path to image in static folder eg. img/avatar.png 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 @@ -31,15 +33,6 @@ highlightjs = true # Syntax highlighting lang = "en" footertext = "" # Text to show in footer (overrides default text) -# Social icons appear in introduction and contact section. Input your username only, eg "you" as it appears in "twitter.com/you" -linkedin = "you" -twitter = "you" -github = "you" -codepen = "you" -pinterest = "" -facebook = "" -googleplus = "" - 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 @@ -59,3 +52,19 @@ project2title = "Project 2" project3link = "#" project3img = "img/project3.jpg" project3title = "Project 3" + + +# Social icons appear in introduction and contact section. Add as many more as you like. +# Find icon names here: http://fontawesome.io/cheatsheet/ + +[[params.social]] +url = "https://twitter.com/" +icon = "twitter" + +[[params.social]] +url = "https://facebook.com/" +icon = "facebook" + +[[params.social]] +url = "https://linkedin.com/" +icon = "linkedin"
\ No newline at end of file diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 0ef389c..6092ab1 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,26 +1,7 @@ <div class="social-icons"> - {{ if .Site.Params.twitter }} - <a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank"><i class="fa fa-twitter"></i></a> - {{ end }} - {{ if .Site.Params.linkedin }} - <a href="https://linkedin.com/in/{{ .Site.Params.linkedin }}" target="_blank"><i class="fa fa-linkedin"></i></a> - {{ end }} - {{ if .Site.Params.github }} - <a href="https://github.com/{{ .Site.Params.github }}" target="_blank"><i class="fa fa-github"></i></a> - {{ end }} - {{ if .Site.Params.codepen }} - <a href="https://codepen.io/{{ .Site.Params.codepen }}" target="_blank"><i class="fa fa-codepen"></i></a> - {{ end }} - {{ if .Site.Params.pinterest }} - <a href="https://pinterest.com/{{ .Site.Params.pinterest }}" target="_blank"><i class="fa fa-pinterest"></i></a> - {{ end }} - {{ if .Site.Params.facebook }} - <a href="https://facebook.com/{{ .Site.Params.facebook }}" target="_blank"><i class="fa fa-facebook"></i></a> - {{ end }} - {{ if .Site.Params.googleplus }} - <a href="https://plus.google.com/+{{ .Site.Params.googleplus }}" target="_blank"><i class="fa fa-google-plus"></i></a> - {{ end }} - {{ if .Site.RSSLink }} - <a href="{{ .Site.RSSLink }}"><i class="fa fa-rss"></i></a> + {{ range .Site.Params.social }} + <a href="{{ .url }}"> + <i class="fa fa-{{ .icon}}"></i> + </a> {{ end }} </div>
\ No newline at end of file |