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:
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
new file mode 100644
index 0000000..c4e32b3
--- /dev/null
+++ b/layouts/partials/sidebar.html
@@ -0,0 +1,25 @@
+{{ $sidebar := .Site.Data.sidebar }}
+{{ $social := .Site.Data.social }}
+<section id="sidebar" class="sidebar d-flex align-items-center p-5">
+ <div class="main-info">
+
+ <img src="{{.Site.BaseURL}}/images/{{ $sidebar.displayPicture }}" class="rounded-circle mb-3" width="160px">
+
+ <h1 class="heading">{{ $sidebar.title }} <span class="highlight">{{ $sidebar.highlightedText }}</span></h1>
+ <p class="text-muted">{{ $sidebar.description }}</p>
+
+ <div class="social my-4">
+
+ {{ range $key, $value := $social }}
+ <a target="_blank" href="{{ $value }}">
+ <i class="fab fa-{{ $key }}"></i>
+ </a>
+ {{ end }}
+
+ </div>
+
+ <a href="#contact" class="btn btn-dark btn-lg">Contact</a>
+
+
+ </div>
+</section> \ No newline at end of file