-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Former-commit-id: a331539 [formerly 9507412] Former-commit-id: 5949e835ed8dd66a8cbbd8a970ffc0d1f0d09406 Former-commit-id: aadeb86
- Loading branch information
1 parent
f735152
commit 4e2c3a1
Showing
13 changed files
with
235 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<section class="ui top attached center aligned inverted segment"> | ||
<div class="ui small circular image"> | ||
{{ if isset .Site.Params "avatar" }} | ||
<img src="{{ .Site.Params.avatar }}"> | ||
{{ else }} | ||
<img src="/img/avatar{{ index (shuffle (seq 1 4)) 0 }}.svg"> | ||
{{ end }} | ||
</div> | ||
<h3 class="ui header"> | ||
{{- .Site.Params.author -}} | ||
<div class="sub header" style="color: white;">{{ $.Site.Params.motto }}</div> | ||
</h3> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{ range $name, $taxonomy := .Site.Taxonomies.categories }} | ||
<div class="title" style="color: white; padding-bottom:0.2em;"> | ||
<i class="dropdown icon"></i> | ||
<a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}" style="color: white;" >{{ $name }}</a> | ||
</div> | ||
{{ range $taxonomy.Pages }} | ||
<div class="content"> | ||
<a class="item" href="{{ .Permalink }}"> | ||
<div> | ||
<i class="cocktail icon"></i> | ||
<p>{{ .LinkTitle }}</p> | ||
</div> | ||
</a> | ||
</div> | ||
{{ end }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<section class="ui bottom attached center aligned inverted segment"> | ||
{{ if .Site.Params.siteStartYear }} | ||
<p>© {{ if eq now.Year .Site.Params.siteStartYear }}{{ now.Year }}{{ else }}{{ .Site.Params.siteStartYear }} - {{ now.Year }}{{ end }} {{ .Site.Title }}</p> | ||
{{ else }} | ||
<p>© {{ now.Year }} {{ .Site.Title }}</p> | ||
{{ end }} | ||
<p>Powered by <a href="https://gohugo.io/" target="_blank">Hugo</a> with <a href="https://github.com/UtkarshVerma/hugo-dream-plus" target="_blank">Dream Plus</a> theme.</p> | ||
</section> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,29 @@ | ||
<section class="ui top attached center aligned inverted segment"> | ||
<div class="ui small circular image"> | ||
{{ if isset .Site.Params "avatar" }} | ||
<img src="{{ .Site.Params.avatar }}"> | ||
{{ else }} | ||
<img src="/img/avatar{{ index (shuffle (seq 1 4)) 0 }}.svg"> | ||
{{ end }} | ||
</div> | ||
<h3 class="ui header"> | ||
{{- .Site.Params.author -}} | ||
<div class="sub header" style="color: white;">{{ $.Site.Params.motto }}</div> | ||
</h3> | ||
{{ if or (.Site.Params.enableCategories) (.Site.Params.enableTags) }} | ||
<a id="tag-category-pop" class="ui red right corner label"> | ||
<i class="pointing down icon" title="{{ i18n "clickToPopTagsAndCategories" }}"></i> | ||
</a> | ||
{{ end }} | ||
</section> | ||
|
||
{{ if .Site.Params.enableTags }} | ||
{{ if .Site.Taxonomies.tags }} | ||
<section class="ui attached center aligned inverted segment dream-tags"> | ||
{{ range $name, $taxonomy := .Site.Taxonomies.tags }} | ||
<a class="ui label" href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="{{ $name }}">{{ $name }}</a> | ||
{{ end }} | ||
</section> | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ if .Site.Params.enableCategories }} | ||
{{ if .Site.Taxonomies.categories }} | ||
<section class="ui attached inverted segment dream-categories"> | ||
<div class="ui inverted accordion"> | ||
{{ range $name, $taxonomy := .Site.Taxonomies.categories }} | ||
<div class="title" style="text-align: initial;"> | ||
<i class="dropdown icon"></i> | ||
<a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}" class="item" style="color: white;">{{ $name }}</a> | ||
</div> | ||
<div class="content"> | ||
<div class="ui link inverted list"> | ||
{{ range $taxonomy.Pages }} | ||
<div class="item" style="padding-left: 24px;"> | ||
<i class="cocktail icon"></i> | ||
<div class="content"> | ||
<a href="{{ .Permalink }}" class="item">{{ .LinkTitle }}</a> | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
<div id="header" class="ui inverted segment"> | ||
<div class="ui inverted accordion"> | ||
{{ partial "author.html" . }} | ||
<div class="title"> | ||
{{ if or (.Site.Params.enableCategories) (.Site.Params.enableTags) }} | ||
<div id="tag-category-pop" class="ui red right corner label"> | ||
<i class="link pointing down icon" title="{{ i18n "clickToPopTagsAndCategories" }}"></i> | ||
</div> | ||
{{ end }} | ||
</div> | ||
</section> | ||
{{ end }} | ||
{{ end }} | ||
|
||
<section class="ui bottom attached center aligned inverted segment"> | ||
{{ if .Site.Params.siteStartYear }} | ||
<p>© {{ if eq now.Year .Site.Params.siteStartYear }}{{ now.Year }}{{ else }}{{ .Site.Params.siteStartYear }} - {{ now.Year }}{{ end }} {{ .Site.Title }}</p> | ||
{{ else }} | ||
<p>© {{ now.Year }} {{ .Site.Title }}</p> | ||
{{ end }} | ||
<p>Powered by <a href="https://gohugo.io/" target="_blank">Hugo</a> with <a href="https://github.com/UtkarshVerma/hugo-dream-plus" target="_blank">Dream Plus</a> theme.</p> | ||
</section> | ||
<div id="tag-category" class="content active"> | ||
{{ if .Site.Params.enableTags }} | ||
{{ if .Site.Taxonomies.tags }} | ||
<section class="ui attached center aligned inverted segment dream-tags"> | ||
{{ partial "tags.html" . }} | ||
</section> | ||
{{ end }} | ||
{{ end }} | ||
{{ if .Site.Params.enableCategories }} | ||
{{ if .Site.Taxonomies.categories }} | ||
<section class="ui attached inverted segment dream-categories"> | ||
{{ partial "categories.html" . }} | ||
</section> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
{{ partial "footer.html" . }} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,20 @@ | ||
<div class="ui sidebar inverted vertical menu left" style="overflow: hidden !important; height: auto;"> | ||
<section class="ui top attached center aligned inverted segment"> | ||
<div class="ui small circular image"> | ||
{{ if isset .Site.Params "avatar" }} | ||
<img src="{{ .Site.Params.avatar }}"> | ||
{{ else }} | ||
<img src="/img/avatar{{ index (shuffle (seq 1 4)) 0 }}.svg"> | ||
{{ end }} | ||
</div> | ||
<h3 class="ui header"> | ||
{{- .Site.Params.author -}} | ||
<div class="sub header" style="color: white;">{{ $.Site.Params.motto }}</div> | ||
</h3> | ||
</section> | ||
|
||
<div id="sidebar" class="ui sidebar inverted vertical menu left"> | ||
{{ partial "author.html" . }} | ||
{{ if .Site.Params.enableTags }} | ||
{{ if .Site.Taxonomies.tags }} | ||
<section class="ui attached center aligned inverted segment sidebar-dream-tags"> | ||
{{ range $name, $taxonomy := .Site.Taxonomies.tags }} | ||
<a class="ui label" href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="{{ $name }}">{{ $name }}</a> | ||
{{ end }} | ||
{{ partial "tags.html" . }} | ||
</section> | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ if .Site.Params.enableCategories }} | ||
{{ if .Site.Taxonomies.categories }} | ||
<section class="ui attached inverted segment sidebar-dream-categories"> | ||
<div class="ui inverted accordion"> | ||
{{ range $name, $taxonomy := .Site.Taxonomies.categories }} | ||
<div class="title" style="color: white; padding-bottom:0.2em;"> | ||
<i class="dropdown icon"></i><a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}" style="color: white;" >{{ $name }}</a> | ||
</div> | ||
{{ range $taxonomy.Pages }} | ||
<div class="content" style="padding-left: 1em;"> | ||
<a class="item" href="{{ .Permalink }}" style="color: white; padding-bottom: 0.3em; padding-top: 0.3em;">{{ .LinkTitle }}</a> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
{{ partial "categories.html" . }} | ||
</div> | ||
</section> | ||
{{ end }} | ||
{{ end }} | ||
|
||
<section class="ui bottom attached center aligned inverted segment"> | ||
{{ if .Site.Params.siteStartYear }} | ||
<p>© {{ if eq now.Year .Site.Params.siteStartYear }}{{ now.Year }}{{ else }}{{ .Site.Params.siteStartYear }} - {{ now.Year }}{{ end }} {{ .Site.Title }}</p> | ||
{{ else }} | ||
<p>© {{ now.Year }} {{ .Site.Title }}</p> | ||
{{ end }} | ||
<p>Powered by <a href="https://gohugo.io/" target="_blank">Hugo</a> with <a href="https://github.com/UtkarshVerma/hugo-dream-plus" target="_blank">Dream Plus</a> theme.</p> | ||
</section> | ||
{{ end }} | ||
{{ partial "footer.html" . }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{{ range $name, $taxonomy := .Site.Taxonomies.tags }} | ||
<a class="ui label" href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="{{ $name }}">{{ $name }}</a> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<script src="/js/twemoji.min.js"></script> | ||
<script type="text/javascript"> | ||
(function init(){ | ||
console.log("Twemoji up and making stuff colourful!"); | ||
twemoji.parse(document.getElementById("abt")); | ||
twemoji.parse(document.getElementById("twemoji")); | ||
console.log('Twemoji up and making stuff colourful!'); | ||
twemoji.parse(document.getElementById('abt')); | ||
twemoji.parse(document.getElementById('twemoji')); | ||
})() | ||
</script> |
Oops, something went wrong.