From 7031d73444a6ce1180fca867e85cfff177b87e9c Mon Sep 17 00:00:00 2001 From: Tyler Kluszczynski Date: Wed, 20 Feb 2019 23:00:06 -0800 Subject: Numerous QOL Changes * exampleSite/config.toml - changed default theme directory to hugo-uilite opposed to uilite. * The user won't have to rename the theme in /themes or change config.toml to 'uilite' when running an example site. * Added support for awesome fas icons (opposed to only fab). This is useful if a user wants to have a mail icon for example. **by default this creates a new envelope icon in the exampleSite sidebar** can be removed in exampleSite/data/socialfas.json. * New fas icons should be placed in exampleSite/data/socialfas.json. * Fas icons are rendered after the fab icons. * Added period after description in exampleSite/data/sidebar.json * Added a newline after variable declaration in layouts/partials/contact.html and layouts/partials/sidebar.html to match with other html files. --- exampleSite/config.toml | 3 +-- exampleSite/data/sidebar.json | 4 ++-- exampleSite/data/socialfas.json | 3 +++ layouts/partials/contact.html | 5 +++-- layouts/partials/sidebar.html | 16 ++++++++++++---- 5 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 exampleSite/data/socialfas.json diff --git a/exampleSite/config.toml b/exampleSite/config.toml index fb97ae4..4e7d232 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,5 +1,4 @@ baseURL = "https://demo.uicard.io/hugo-uilite-free/" languageCode = "en-us" title = "Valentina" -theme = "uilite" - +theme = "hugo-uilite" diff --git a/exampleSite/data/sidebar.json b/exampleSite/data/sidebar.json index e40de09..5e56a22 100644 --- a/exampleSite/data/sidebar.json +++ b/exampleSite/data/sidebar.json @@ -1,6 +1,6 @@ { "title" : "hey world, i'm", "highlightedText" : "valentina", - "description" : "A graphics designer, based in Germany", + "description" : "A graphics designer, based in Germany.", "displayPicture" : "sim.jpg" -} \ No newline at end of file +} diff --git a/exampleSite/data/socialfas.json b/exampleSite/data/socialfas.json new file mode 100644 index 0000000..f990145 --- /dev/null +++ b/exampleSite/data/socialfas.json @@ -0,0 +1,3 @@ +{ + "envelope" : "mailto:@gmail.com" +} diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index 306f4b3..97cb4ed 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -1,4 +1,5 @@ {{ $config := .Site.Data.config }} +

Contact

@@ -18,7 +19,7 @@
- +
@@ -26,4 +27,4 @@
-
\ No newline at end of file + diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 58e22a6..97c5c03 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,5 +1,7 @@ {{ $sidebar := .Site.Data.sidebar }} {{ $social := .Site.Data.social }} +{{ $socialfas := .Site.Data.socialfas}} + \ No newline at end of file + -- cgit v1.2.3