Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uicardiodev/hugo-uilite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArvind <roadsidegeek@gmail.com>2019-06-19 19:38:14 +0300
committerGitHub <noreply@github.com>2019-06-19 19:38:14 +0300
commit5906733d0cea0cd9b86e3c3d21b0217695e73cb9 (patch)
tree81a212396074cf767f18ff68ab32c95aeb00483c
parent302b320da412e4efa1a052003749856f53167ba0 (diff)
parent7031d73444a6ce1180fca867e85cfff177b87e9c (diff)
Merge pull request #3 from tklusz/master
Support for FAS icons + Numerous QOL Changes
-rw-r--r--exampleSite/config.toml3
-rw-r--r--exampleSite/data/sidebar.json4
-rw-r--r--exampleSite/data/socialfas.json3
-rw-r--r--layouts/partials/contact.html5
-rw-r--r--layouts/partials/sidebar.html14
5 files changed, 20 insertions, 9 deletions
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:<youremail>@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 }}
+
<section id="contact" class="bg-light d-flex align-items-center" style="height: 100vh;">
<div class="container">
<h2 class="heading mb-3">Contact</h2>
@@ -18,7 +19,7 @@
<input type="email" class="form-control" name="_replyto" placeholder="Email">
</div>
</div>
-
+
<div class="form-group">
<label>Message</label>
<textarea placeholder="Message" name="message" class="form-control" rows="4"></textarea>
@@ -26,4 +27,4 @@
<button type="submit" class="btn btn-dark">Submit</button>
</form>
</div>
-</section> \ No newline at end of file
+</section>
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 631a8c7..024f93d 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}}
+
<section id="sidebar" class="sidebar d-flex align-items-center p-5">
<div class="main-info">
@@ -15,11 +17,17 @@
<i class="fab fa-{{ $key }}"></i>
</a>
{{ end }}
-
+
+ {{ range $key, $value := $socialfas }}
+ <a target="_blank" href="{{ $value }}">
+ <i class="fas fa-{{ $key }}"></i>
+ </a>
+ {{ end }}
+
</div>
-
+
<a href="#contact" class="btn btn-dark btn-lg">Contact</a>
-
+
</div>
</section>