Added theme back properly
This commit is contained in:
37
themes/hugo-uno/layouts/partials/comments.html
Normal file
37
themes/hugo-uno/layouts/partials/comments.html
Normal file
@ -0,0 +1,37 @@
|
||||
{{ if .Site.Params.muut }}
|
||||
<section class="post-comments">
|
||||
<a class="muut" href="https://muut.com/i/{{ .Site.Params.muut }}/comments:{{ .Title }}">Comments</a>
|
||||
<script src="//cdn.muut.com/1/moot.min.js"></script>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.discourse }}
|
||||
<div id="discourse-comments"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var discourseUrl = {{ .Site.Params.discourse }},
|
||||
discourseEmbedUrl = {{ .Permalink }};
|
||||
|
||||
(function() {
|
||||
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
|
||||
d.src = discourseUrl + 'javascripts/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
||||
})();
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.disqus }}
|
||||
<div id="disqus_thread"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var disqusUsername = {{ .Site.Params.disqus }};
|
||||
|
||||
(function() { // DON'T EDIT BELOW THIS LINE
|
||||
var d = document, s = d.createElement('script');
|
||||
|
||||
s.src = '//' + disqusUsername + '.disqus.com/embed.js';
|
||||
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
||||
{{ end }}
|
1
themes/hugo-uno/layouts/partials/footer.html
Normal file
1
themes/hugo-uno/layouts/partials/footer.html
Normal file
@ -0,0 +1 @@
|
||||
<footer class="footer"></footer>
|
20
themes/hugo-uno/layouts/partials/head.html
Normal file
20
themes/hugo-uno/layouts/partials/head.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<!-- Enable responsiveness on mobile devices-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
||||
<title> {{ .Title }} · {{ .Site.Title }} </title>
|
||||
<!-- CSS -->
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/uno.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/lightGallery.css" />
|
||||
<!-- Icons -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<!-- RSS -->
|
||||
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<!-- Script -->
|
||||
<script src="{{ .Site.BaseURL }}/js/jquery.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/main.min.js">
|
||||
</script>
|
||||
</head>
|
0
themes/hugo-uno/layouts/partials/script.html
Normal file
0
themes/hugo-uno/layouts/partials/script.html
Normal file
13
themes/hugo-uno/layouts/partials/sharing.html
Normal file
13
themes/hugo-uno/layouts/partials/sharing.html
Normal file
@ -0,0 +1,13 @@
|
||||
<div class="sharing">
|
||||
<a href="https://twitter.com/intent/tweet?status={{ .Title }}-{{ .Permalink }}" target="_blank" title="Follow me on Twitter" class="twitter">
|
||||
<span class="fa fa-twitter-square fa-3x"></span></a>
|
||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" target="_blank" title="Join me on Facebook" class="facebook">
|
||||
<span class="fa fa-facebook-square fa-3x"></span></a>
|
||||
<a href="https://plus.google.com/share?url={{ .Permalink }}" target="_blank" title="Google+" class="googleplus">
|
||||
<span class="fa fa-google-plus-square fa-3x"></span></a>
|
||||
<a href="http://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="LinkedIn" class="linkedin">
|
||||
<span class="fa fa-linkedin-square fa-3x"></span></a>
|
||||
<a href="http://www.reddit.com/submit?url={{ .Permalink }}" target="_blank" title="Reddit" class="reddit"><span class="fa fa-reddit-square fa-3x"></span></a>
|
||||
<a href="http://www.stumbleupon.com/submit?url={{ .Permalink }}" target="_blank" title="StumbleUpon" class="stumbleupon"><span class="fa fa-stumbleupon fa-3x">
|
||||
</span></a>
|
||||
</div>
|
73
themes/hugo-uno/layouts/partials/sidebar.html
Normal file
73
themes/hugo-uno/layouts/partials/sidebar.html
Normal file
@ -0,0 +1,73 @@
|
||||
<div id="scriptHeader">
|
||||
<span class="mobile btn-mobile-menu">
|
||||
<i class="fa fa-bars btn-mobile-menu__icon"></i>
|
||||
<i class="fa fa-times btn-mobile-close__icon hidden"> </i>
|
||||
</span>
|
||||
<header class="
|
||||
{{ if .IsNode }}
|
||||
{{ if or (eq .URL "/post/") (in .URL "/tags/") (in .URL "/categories/") }}
|
||||
panel-cover panel-cover--collapsed
|
||||
{{ else }}
|
||||
panel-cover
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
panel-cover panel-cover--collapsed
|
||||
{{ end }}" {{ if .Site.Params.cover }} style="background-image: url({{ .Site.Params.cover }})" {{ end }}>
|
||||
<div class="panel-main">
|
||||
<div class="panel-main__inner panel-inverted">
|
||||
<div class="panel-main__content"> {{ if .Site.Params.logo }}
|
||||
<a href="{{ .Site.BaseURL }}/" title="link to homepage for {{ .Site.Title }}"> <img src="{{ .Site.Params.logo }}" width="80" alt="{{ .Site.Title }} logo" class="panel-cover__logo logo" /> </a> {{ end }}
|
||||
<h1 class="panel-cover__title panel-title">
|
||||
<a href="{{ .Site.BaseURL }}/" title="link to homepage for {{ .Site.Title }}">{{ .Site.Title }}</a>
|
||||
</h1>
|
||||
<hr class="panel-cover__divider" />
|
||||
<p class="panel-cover__description"> {{ if .Site.Params.description }} {{ .Site.Params.description }} {{ else }} This site is built using <a href="http://gohugo.io">hugo</a> and the theme is built by <a href="http://fredrikloch.me">Fredrik</a> if you enjoy it, it is available at <a href="https://github.com/SenjinDarashiva/hugo-uno">github</a> {{end}} </p>
|
||||
<hr class="panel-cover__divider panel-cover__divider--secondary" />
|
||||
<div class="navigation-wrapper">
|
||||
<nav class="cover-navigation cover-navigation--primary">
|
||||
<ul class="navigation">
|
||||
<li class="navigation__item"><a href="{{ .Site.BaseURL }}#blog" title="link to {{ .Site.Title }} blog" class="blog-button">Blog</a> </li></br>
|
||||
{{ if .Site.Params.cv }}<li class="navigation__item"><a href="{{ .Site.Params.cv }}" title="link to my CV " class="blog-button">CV</a> </li></br> {{ end }}
|
||||
{{ if .Site.Params.legalnotice }}<li class="navigation__item"><a href="{{ .Site.Params.legalnotice }}" title="link to the legal notice " class="blog-button">Legal notice</a> </li></br> {{ end }}
|
||||
</ul>
|
||||
</nav> {{ partial "social.html" . }} </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-cover--overlay"></div>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<noscript>
|
||||
<style>
|
||||
#scriptHeader {display:none;}
|
||||
.navigation-wrapper{
|
||||
display: block;
|
||||
top: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<header class="panel-cover panel-cover--collapsed" style="background-image: url({{ .Site.Params.cover }})">
|
||||
<div class="panel-main">
|
||||
<div class="panel-main__inner panel-inverted">
|
||||
<div class="panel-main__content"> {{ if .Site.Params.logo }}
|
||||
<a href="{{ .Site.BaseURL }}/" title="link to homepage for {{ .Site.Title }}"> <img src="{{ .Site.Params.logo }}" width="80" alt="{{ .Site.Title }} logo" class="panel-cover__logo logo" /> </a> {{ end }}
|
||||
<h1 class="panel-cover__title panel-title">
|
||||
<a href="{{ .Site.BaseURL }}/" title="link to homepage for {{ .Site.Title }}">{{ .Site.Title }}</a>
|
||||
</h1>
|
||||
<hr class="panel-cover__divider" />
|
||||
<p class="panel-cover__description"> {{ if .Site.Params.description }} {{ .Site.Params.description }} {{ else }} This site is built using <a href="http://gohugo.io">hugo</a> and the theme is built by <a href="http://fredrikloch.me">Fredrik</a> if you enjoy it, it is available at <a href="https://github.com/SenjinDarashiva/hugo-uno">github</a> {{end}} </p>
|
||||
<hr class="panel-cover__divider panel-cover__divider--secondary" />
|
||||
<div class="navigation-wrapper">
|
||||
<nav class="cover-navigation cover-navigation--primary">
|
||||
<ul class="navigation">
|
||||
<li class="navigation__item"><a href="{{ .Site.BaseURL }}/#blog" title="link to {{ .Site.Title }} blog" class="blog-button">Blog</a> </li></br>
|
||||
{{ if .Site.Params.cv }}<li class="navigation__item"><a href="{{ .Site.Params.cv }}" title="link to my CV " class="blog-button">CV</a> </li></br> {{ end }}
|
||||
{{ if .Site.Params.legalnotice }}<li class="navigation__item"><a href="{{ .Site.Params.legalnotice }}" title="link to the legal notice " class="blog-button">Legal notice</a> </li></br> {{ end }}
|
||||
</ul>
|
||||
</nav> {{ partial "social.html" . }} </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-cover--overlay"></div>
|
||||
</div>
|
||||
</header>
|
||||
</noscript>
|
27
themes/hugo-uno/layouts/partials/social.html
Normal file
27
themes/hugo-uno/layouts/partials/social.html
Normal file
@ -0,0 +1,27 @@
|
||||
<nav class="cover-navigation navigation--social">
|
||||
<ul class="navigation"> {{ if .Site.Params.twitter }}
|
||||
<!-- Twitter -->
|
||||
<li class="navigation__item">
|
||||
<a href="http://twitter.com/{{ .Site.Params.twitter }}" title="@{{ .Site.Params.twitter }} on Twitter"> <i class='fa fa-twitter'></i> <span class="label">Twitter</span> </a>
|
||||
</li> {{ end }} {{ if .Site.Params.bitbucket }}
|
||||
<!-- Bitbucket -->
|
||||
<li class="navigation__item">
|
||||
<a href="https://bitbucket.org/{{ .Site.Params.bitbucket }}" title="{{ .Site.Params.bitbucket }} on bitbucket"> <i class='fa fa-bitbucket'></i> <span class="label">Bitbucket</span> </a>
|
||||
</li> {{ end }} {{ if .Site.Params.github }}
|
||||
<!-- github -->
|
||||
<li class="navigation__item">
|
||||
<a href="https://github.com/{{ .Site.Params.github }}" title="{{ .Site.Params.github }} on github"> <i class='fa fa-github'></i> <span class="label">Github</span> </a>
|
||||
</li> {{ end }} </br> {{ if .Site.Params.flickr }}
|
||||
<!-- Flickr -->
|
||||
<li class="navigation__item">
|
||||
<a href="http://www.flickr.com/photos/{{ .Site.Params.flickr }}/" title="{{ .Site.Params.flickr }} on flickr"> <i class='fa fa-flickr'></i> <span class="label">Flickr</span> </a>
|
||||
</li> {{ end }} {{ if .Site.Params.linkedin }}
|
||||
<!-- Linkedin -->
|
||||
<li class="navigation__item">
|
||||
<a href="https://www.linkedin.com/in/{{ .Site.Params.linkedin }}" title="Linkedin"> <i class='fa fa-linkedin'></i> <span class="label">Linkedin</span> </a>
|
||||
</li> {{ end }} {{ if .Site.Params.email }}
|
||||
<!-- Email -->
|
||||
<li class="navigation__item">
|
||||
<a href="mailto:{{ .Site.Params.email }}" title="Email {{ .Site.Params.email }}"> <i class='fa fa-envelope-o'></i> <span class="label">Email</span> </a>
|
||||
</li> {{ end }} </ul>
|
||||
</nav>
|
Reference in New Issue
Block a user