Update homepage
parent
3649c3a3e4
commit
20ff92afb6
@ -0,0 +1,14 @@
|
||||
# Build public with hugo
|
||||
FROM jguyomard/hugo-builder:latest
|
||||
|
||||
COPY . /build
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
RUN hugo -b https://rene.jochums.at -v -t persona
|
||||
|
||||
|
||||
# Copy to a nginx container
|
||||
FROM nginx:1.17-alpine
|
||||
|
||||
COPY --from=0 /build/public/* /usr/share/nginx/html/
|
@ -0,0 +1,9 @@
|
||||
[submodule "vendor/lightslider"]
|
||||
path = vendor/lightslider
|
||||
url = https://github.com/sachinchoolur/lightslider.git
|
||||
[submodule "vendor/lightGallery"]
|
||||
path = vendor/lightgallery
|
||||
url = https://github.com/sachinchoolur/lightGallery.git
|
||||
[submodule "vendor/fontawesome"]
|
||||
path = vendor/fontawesome
|
||||
url = https://github.com/FortAwesome/Font-Awesome.git
|
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Janos Feher
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -0,0 +1,17 @@
|
||||
hugo-theme-persona
|
||||
==================
|
||||
|
||||
- Port of the clean and well-readable Persona theme to Hugo static site generator.
|
||||
- Original made by @aries1980 (Janos Feher) ?
|
||||
- It's a two column theme.
|
||||
|
||||
# Screenshots
|
||||
|
||||
## Index Page
|
||||
![index](/images/snapshot.png)
|
||||
|
||||
## Post Page
|
||||
![index](/images/tn.png)
|
||||
|
||||
# License
|
||||
Open sourced under the MIT license.
|
Binary file not shown.
After Width: | Height: | Size: 233 KiB |
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
@ -0,0 +1,4 @@
|
||||
<li>
|
||||
<h5><a href="{{ .Permalink }}">{{ .Title}}</a><br>
|
||||
<small>posted on {{ .Date.Format "January 2, 2006" }}</small></h5>
|
||||
</li>
|
@ -0,0 +1,21 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
<div class="well well-sm">
|
||||
<li>
|
||||
<h5><a href="{{ .Permalink }}">{{ .Title}}</a><br>
|
||||
<small>posted on {{ .Date.Format "January 2, 2006" }}</small></h5>
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar -->
|
||||
<div class="col-md-3">
|
||||
{{ partial "menu.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,20 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
<div class="well well-sm">
|
||||
<h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3>
|
||||
<hr>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar -->
|
||||
<div class="col-md-3">
|
||||
{{ partial "menu.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,12 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="tag_area">
|
||||
<h2>Tag</h2>
|
||||
{{ range .Site.Taxonomies.tags.ByCount }}
|
||||
<a href="/tags/{{ .Name | urlize }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,4 @@
|
||||
<li>
|
||||
<h5><a href="{{ .Permalink }}">{{ .Title}}</a><br>
|
||||
<small>posted on {{ .Date.Format .Site.Params.DateFormat }}</small></h5>
|
||||
</li>
|
@ -0,0 +1,20 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="main_content_area">
|
||||
<div id="expand_content_menu"><span class="icon icon-bars"></span></div>
|
||||
<div id="body_hover"></div>
|
||||
<section class="home_page_post_area single_page_post_area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="home_single_post">
|
||||
{{ partial "post/image_area.html" . }}
|
||||
{{ partial "author/single_content_area.html" . }}
|
||||
{{ partial "comment_area.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,14 @@
|
||||
<article class="home_single_post gallery_post_type" typeof="BlogPosting">
|
||||
{{ partial "post/image_area.html" . }}
|
||||
<div class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<div class="single_post_content" property="articleBody">
|
||||
<header><h2><a href="{{ .Permalink }}" property="headline">{{ .Title }}</a></h2></header>
|
||||
<p>{{ .Summary }}</p>
|
||||
</div>
|
||||
{{ partial "post/info.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
@ -0,0 +1,19 @@
|
||||
= doctype html
|
||||
html xmlns=http://www.w3.org/1999/xhtml xml:lang=nn lang=nn
|
||||
head
|
||||
= include partials/header.html .
|
||||
body.layout-reverse
|
||||
= include partials/menu.html .
|
||||
.content.container
|
||||
.main.posts
|
||||
{{ range (.Paginate (where .Data.Pages "Section" "!=" "page")).Pages }}
|
||||
.post
|
||||
h1.post-title
|
||||
a href={{ .RelPermalink }} {{ with .Params.title_main}}{{ . | markdownify }}{{ else }}{{ .Title }}{{end}}
|
||||
.post-summary {{ .Summary }}
|
||||
.read-more
|
||||
a.btn.btn-lg.bs-btn-info href={{ .RelPermalink }} Hald fram →
|
||||
{{ end }}
|
||||
= include partials/pagination.html .
|
||||
= include partials/hello-simple.html .
|
||||
= include partials/footer.html .
|
@ -0,0 +1,21 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="main_content_area">
|
||||
<div id="expand_content_menu"><span class="icon icon-bars"></span></div>
|
||||
<div id="body_hover"></div>
|
||||
{{ partial "profile_heading.html" . }}
|
||||
<section class="home_page_post_area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,23 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
<div class="well well-sm">
|
||||
<strong>Items in category <code>{{ .Title | lower }}</code></strong>
|
||||
<ul class="list-unstyled">
|
||||
{{ range .Data.Pages }}
|
||||
{{ .Render "li" }}
|
||||
{{ end}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar -->
|
||||
<div class="col-md-3">
|
||||
{{ partial "menu.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,23 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
<div class="well well-sm">
|
||||
<strong>Blog Post Archive</strong>
|
||||
<ul class="list-unstyled">
|
||||
{{ range .Data.Pages }}
|
||||
{{ .Render "list" }}
|
||||
{{ end}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar -->
|
||||
<div class="col-md-3">
|
||||
{{ partial "menu.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,21 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="main_content_area">
|
||||
<div id="expand_content_menu"><span class="icon icon-bars"></span></div>
|
||||
<div id="body_hover"></div>
|
||||
{{ partial "profile_heading.html" . }}
|
||||
<section class="home_page_post_area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{{ $paginator := .Paginate .Data.Pages }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ .Render "list" }}
|
||||
{{ end }}
|
||||
{{ template "theme/partials/pagination.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,22 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="main_content_area">
|
||||
<div id="expand_content_menu"><span class="icon icon-bars"></span></div>
|
||||
<div id="body_hover"></div>
|
||||
{{ partial "profile_heading.html" . }}
|
||||
<section class="home_page_post_area single_page_post_area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="home_single_post">
|
||||
{{ partial "post/image_area.html" . }}
|
||||
{{ partial "page/single_content_area.html" . }}
|
||||
{{ partial "comment_area.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,9 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="text_widget copy_right">
|
||||
<h2>© 2014 by {{ .Site.Params.AuthorName }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,12 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="dribble_widget">
|
||||
<h2>Dribbble Widget</h2>
|
||||
<div>
|
||||
<a href="#"><img src="/static/images/dribble.jpg" alt="Title" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,17 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="flickr_widget">
|
||||
<h2>Flickr Widget</h2>
|
||||
<div>
|
||||
<a href="#"><img src="/static/images/thumbnail.jpg" alt="Title" /></a>
|
||||
<a href="#"><img src="/static/images/p2.jpg" alt="Title" /></a>
|
||||
<a href="#"><img src="/static/images/p3.jpg" alt="Title" /></a>
|
||||
<a href="#"><img src="/static/images/p4.jpg" alt="Title" /></a>
|
||||
<a href="#"><img src="/static/images/p5.jpg" alt="Title" /></a>
|
||||
<a href="#"><img src="/static/images/p22.jpg" alt="Title" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,33 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="right_menu_area">
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
<li><a href="/index.html">Home</a></li>
|
||||
<li>
|
||||
<a href="#">Filter</a>
|
||||
<ul>
|
||||
<li><a href="#">Audio</a></li>
|
||||
<li><a href="#">Chat</a></li>
|
||||
<li><a href="#">Photo</a></li>
|
||||
<li><a href="#">Gallery</a></li>
|
||||
<li><a href="#">Quote</a></li>
|
||||
<li><a href="#">Text</a></li>
|
||||
<li><a href="#">Video</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Page</a>
|
||||
<ul>
|
||||
<li><a href="columns.html">Columns Fullwidth</a></li>
|
||||
<li><a href="columns_Variant.html">Columns</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="shortcode.html">Shortcode</a></li>
|
||||
<li><a href="#">Archives</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,12 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<form action="#" method="post">
|
||||
<div class="search_box">
|
||||
<i class="icon icon-search"></i>
|
||||
<input type="text" placeholder="Search Here..." name="search"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,14 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="tag_widget">
|
||||
<h2>Tags</h2>
|
||||
<ul>
|
||||
{{ range .Site.Taxonomies.tags.ByCount }}
|
||||
<li><a href="/tags/{{ .Name | urlize }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,34 @@
|
||||
{{ if .Site.Params.Social }}
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<h2>Social:</h2>
|
||||
<div class="right_social_area">
|
||||
{{ with .Site.Params.Social.github }}<a href="https://github.com/{{ . }}" title="@{{ . }} on github" target="_blank"> <i class='icon icon-github'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.bitbucket }}<a href="https://bitbucket.org/{{ . }}" title="@{{ . }} on bitbucket" target="_blank"> <i class='icon icon-bitbucket'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.twitter }}<a href="http://twitter.com/{{ . }}" title="@{{ . }} on Twitter" target="_blank"> <i class='icon icon-twitter'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.facebook }}<a href="https://www.facebook.com/{{ . }}" title="@{{ . }} on Facebook" target="_blank"> <i class='icon icon-facebook-square'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.flickr }}<a href="http://www.flickr.com/photos/{{ . }}/" title="{{ . }} on flickr" target="_blank"> <i class='icon icon-flickr'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.linkedin }}<a href="http://no.linkedin.com/in/{{ . }}/en" title="Linkedin" target="_blank"> <i class='icon icon-linkedin-square'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.skype }}<a href="skype:{{ . }}?call" title="Call {{ . }} on skype"> <i class='icon icon-skype'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.email }}<a href="mailto:{{ . }}" title="Email {{ . }}"> <i class='icon icon-envelope-o'></i></a>{{ end }}
|
||||
{{ with .OutputFormats.Get "RSS" }}<a href="{{ .RelPermalink }}" /> <i class='icon icon-rss'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.dribble }}<a href="{{ . }}" target="_blank"> <i class="icon icon-dribbble"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.vimeo }}<a href="{{ . }}" target="_blank"> <i class="icon icon-vimeo"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.pinterest }}<a href="{{ . }}" target="_blank"> <i class="icon icon-pinterest"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.lastfm }}<a href="{{ . }}" target="_blank"> <i class="icon icon-lastfm"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.googleplus }}<a href="{{ . }}" target="_blank"> <i class="icon icon-google-plus-square"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.dropbox }}<a href="{{ . }}" target="_blank"> <i class="icon icon-dropbox"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.instagram }}<a href="{{ . }}"> <i class="icon icon-instagram"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.behance }}<a href="{{ . }}" target="_blank"> <i class="icon icon-behance-square"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.vkontakte }}<a href="{{ . }}" target="_blank"> <i class="icon icon-vk"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.evernote }}<a href="{{ . }}" target="_blank"> <i class="icon icon-evernote"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.picasa }}<a href="{{ . }}" target="_blank"> <i class="icon icon-picasa"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.droplet }}<a href="{{ . }}" target="_blank"> <i class="icon icon-droplet"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.stumbleupon }}<a href="{{ . }}" target="_blank"> <i class="icon icon-stumbleupon"></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.soundcloud }}<a href="https://soundcloud.com/{{ . }}" title="@{{ . }} at SoundCloud" target="_blank"> <i class="icon icon-soundcloud"></i></a>{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
@ -0,0 +1,11 @@
|
||||
<!-- A demo/example -->
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="text_widget">
|
||||
<h2>Text Widget</h2>
|
||||
<p>Ad eam iriure impetus convenire, quo eu virtute officiis. Pri te illum malis voluptatibus.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,22 @@
|
||||
<div class="sidebar_single_module">
|
||||
<div class="sidebar_wraper">
|
||||
<div class="sidebar_inner">
|
||||
<div class="text_widget twitter_widget">
|
||||
<h2>Twitter feeds</h2>
|
||||
<div class="single_tweets">
|
||||
<h3><a href="#">@HeyDesigner</a></h3>
|
||||
<p>Sketchcasts - A weekly screencast covering Sketch</p>
|
||||
<a href="http://t.co/e5DEW3s">http://t.co/e5DEW3s</a>
|
||||
<span>26 Feb 2014</span>
|
||||
</div>
|
||||
<div class="single_tweets">
|
||||
<h3><a href="#">@mate_ciao</a></h3>
|
||||
<p>Utinam putant elige. </p>
|
||||
<a href="http://t.co/e3q0ZW2OOr">http://t.co/e3q0ZW2OOr</a>
|
||||
<span>26 Feb 2014</span>
|
||||
</div>
|
||||
<a href="" class="btn btn-default twitter_btb">Follow on Twitter</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
{{/* overwrite me and add your analytics code here */}}
|
@ -0,0 +1,23 @@
|
||||
<article class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<section class="single_post_content">
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<h2 property="headline">{{ .Title }}</h2>
|
||||
<small>{{ .Params.address }}, <a href="mailto:{{ .Params.email }}">{{ .Params.email }}</a><br />
|
||||
Phone: {{ .Params.phone }}<br/>
|
||||
PGP: <a href="{{ .Params.pgppubfile }}">{{ .Params.pgp }}</a></small>
|
||||
{{ if .Description }}
|
||||
<h3 property="alternativeHeadline"><small>{{ .Description | safeHTML }}</small></h3>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="profile_picture"><a href="#"><img src="{{ .Params.img }}"/></a></div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
@ -0,0 +1,19 @@
|
||||
{{ $author := .Site.Params.authors.default }}{{ with .Params.author }}{{ $author := . }}{{ end }}
|
||||
{{ $authorinfo := index .Site.Params.authors $author }}
|
||||
<div class="home_single_post">
|
||||
<div class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<div class="single_post_content">
|
||||
<div class="post_author_widgets">
|
||||
<img src="{{ $authorinfo.avatar }}" alt=""/>
|
||||
<div>
|
||||
<h2><a href="{{ $authorinfo.link }}">{{ $authorinfo.name }}</a></h2>
|
||||
<p>{{ $authorinfo.shortbio | safeHTML }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,6 @@
|
||||
<div class="home_single_post comment_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,5 @@
|
||||
{{ if .RelPermalink }}
|
||||
<script type="text/javascript">
|
||||
var disqus_identifier="{{ .RelPermalink }}"
|
||||
</script>
|
||||
{{ end }}
|
@ -0,0 +1,20 @@
|
||||
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/static/js/thirdparties.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/static/js/jquery.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/static/js/lightGallery.min.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/static/js/lightslider.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/static/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/static/js/main.js"></script>
|
||||
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/static/js/highlight.pack.js"></script>
|
||||
<script>
|
||||
hljs.configure({
|
||||
languages: ['bash', 'html']
|
||||
});
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
{{ partial "analytics.html" }}
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{ partial "meta.html" . }}
|
||||
{{ partial "header.includes.html" . }}
|
||||
{{ `<!--[if lt IE 9]><script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script><![endif]-->` | safeHTML }}
|
||||
<!-- RSS -->
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
{{ end }}
|
||||
</head>
|
@ -0,0 +1,20 @@
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/bootstrap.min.css" rel="stylesheet"/>
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/bootstrap-theme.min.css" rel="stylesheet"/>
|
||||
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/persona-icons.css" rel="stylesheet"/>
|
||||
|
||||
<!-- Fonts ni style.css -->
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/lato-font.css" rel="stylesheet"/>
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/notoserif-font.css" rel="stylesheet"/>
|
||||
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/style.css" rel="stylesheet"/>
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/responsive.css" rel="stylesheet"/>
|
||||
|
||||
<link type="text/css" href="{{ .Site.BaseURL }}/static/css/highlight/googlecode.css" rel="stylesheet"/>
|
||||
|
||||
<!-- start hugo lightslider -->
|
||||
<!-- you need this jquery include if you want lightslider without includejs="true". -->
|
||||
<script src="{{ $.Site.BaseURL }}/static/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/static/css/lightGallery.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/static/css/lightslider.css" />
|
||||
<!-- end hugo lightslider -->
|
@ -0,0 +1,15 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" style="padding: 2px 15px;">
|
||||
<h4>Connect. Socialize.</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<a href="https://github.com/{{ .Site.Params.github }}" class="btn btn-primary btn-xs"><i class="icon icon-github-square fa-2x"></i></a>
|
||||
<a href="https://www.facebook.com/SomeSillyUserNameHere" class="btn btn-info btn-xs"><i class="icon icon-facebook-square fa-2x"></i></a>
|
||||
|
||||
<div class="alert alert-info alert-dismissable" style="margin-top:25px;margin-bottom:5px;">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<strong>Hey, listen!</strong><br>
|
||||
You should modify the <code>layouts/chrome/menu.html</code> template and include your own profile links.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,20 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="{{ .Site.Params.AuthorName }}" />
|
||||
|
||||
<meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
{{ with .Site.Params.twitter }}<meta name="twitter:site" content="{{ . }}" />{{ end }}
|
||||
<meta name="twitter:title" content="{{ .Title }} · {{ .Site.Title }}">
|
||||
<meta name="twitter:description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
|
||||
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:title" content="{{ .Title }} · {{ .Site.Title }}">
|
||||
<meta property="og:description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
|
||||
|
||||
<title>{{ .Title }} · {{ .Site.Title }}</title>
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
{{ partial "meta.extra.html" . }}
|
@ -0,0 +1,12 @@
|
||||
|
||||
<section class="left_sidebar_content_area">
|
||||
{{ partial "_widgets/search.html" . }}
|
||||
{{ partial "_widgets/menu.html" . }}
|
||||
{{ partial "_widgets/social.html" . }}
|
||||
{{ partial "_widgets/twitter.html" . }}
|
||||
{{ partial "_widgets/flickr.html" . }}
|
||||
{{ partial "_widgets/dribble.html" . }}
|
||||
{{ partial "_widgets/text.html" . }}
|
||||
{{ partial "_widgets/simpletaglist.html" . }}
|
||||
{{ partial "_widgets/copyright.html" . }}
|
||||
</section>
|
@ -0,0 +1,14 @@
|
||||
<article class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<section class="single_post_content">
|
||||
<h2 property="headline">{{ .Title }}</h2>
|
||||
{{ if .Description }}
|
||||
<h3 property="alternativeHeadline"><small>{{ .Description }}</small></h3>
|
||||
{{ end }}
|
||||
<hr>
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
@ -0,0 +1,19 @@
|
||||
{{ $pag := .Paginator }}
|
||||
{{ if gt $pag.TotalPages 1 }}
|
||||
<div class="paginating_area">
|
||||
<ul>
|
||||
<li
|
||||
{{ if not $pag.HasPrev }}class="disabled"{{ end }}>
|
||||
<a href="{{ if $pag.HasPrev }}{{ $pag.Prev.URL }}{{ end }}" class="p_arrow"><i>‹</i></a>
|
||||
</li>
|
||||
{{ range $pag.Pagers }}
|
||||
<li
|
||||
{{ if eq . $pag }}class="active"{{ end }}><a href="{{ .URL }}">{{ .PageNumber }}</a></li>
|
||||
{{ end }}
|
||||
<li
|
||||
{{ if not $pag.HasNext }}class="disabled"{{ end }}>
|
||||
<a href="{{ if $pag.HasNext }}{{ $pag.Next.URL }}{{ end }}" class="p_arrow"><i>›</i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
@ -0,0 +1,14 @@
|
||||
<div class="post_image_area">
|
||||
{{ if isset .Params "banner" }}
|
||||
<div class="large"><img src="{{ .Params.banner.src }}" alt="{{ .Params.banner.alt }}" /></div>
|
||||
{{ end }}
|
||||
{{ if isset .Params "thumbnails" }}
|
||||
<div class="thumbnails">
|
||||
<ul>
|
||||
{{ range $thumbnail := .Params.thumbnails }}
|
||||
<li><img src="{{ $thumbnail.src }}" alt="{{ $thumbnail.alt }}" /></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
@ -0,0 +1,19 @@
|
||||
{{ $author := .Site.Params.authors.default }}{{ with .Params.author }}{{ $author := . }}{{ end }}
|
||||
{{ $authorinfo := index .Site.Params.authors $author }}
|
||||
<aside class="row post_info">
|
||||
<div class="col-md-12">
|
||||
<ul class="vcard_area">
|
||||
<li>By <a href="{{ $authorinfo.Link }}" title="{{ $author }}">{{ $author }}</a></li>
|
||||
<!-- Date/Time -->
|
||||
{{ if .Site.Params.DateFormat }}
|
||||
<li><time property="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format .Site.Params.DateFormat }}</time></li>
|
||||
{{ else }}
|
||||
<li><time property="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 Jan, 2006" }}</time></li>
|
||||
{{ end }}
|
||||
<!-- Tags -->
|
||||
{{ if isset .Params "tags" }}<li class="tags" property="keywords">{{ range .Params.tags }}<a href="/tags/{{ . | urlize }}">{{ . }}</a>{{ end }}</li>{{ end }}
|
||||
<!-- Edit link -->
|
||||
{{ with .Site.Params.edit_link_url }}<li><a href="{{ . }}{{ $.File.Path }}" title="Edit" target="_blank"><i class="edit_post"></i></a></li>{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
@ -0,0 +1,15 @@
|
||||
<article class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<section class="single_post_content">
|
||||
<h2 property="headline">{{ .Title }}</h2>
|
||||
{{ if .Description }}
|
||||
<h3 property="alternativeHeadline"><small>{{ .Description }}</small></h3>
|
||||
{{ end }}
|
||||
<hr>
|
||||
{{ .Content }}
|
||||
</section>
|
||||
{{ partial "post/info.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
@ -0,0 +1,8 @@
|
||||
{{ if (.Prev) or (.Next) }}
|
||||
<div class="paginating_area">
|
||||
<ul>
|
||||
{{ if .Prev }}<li><a href="{{ .Prev.RelPermalink }}" class="p_arrow" title="Previous blog post: {{ .Prev.Title }}"><i>‹</i></a></li>{{ end }}
|
||||
{{ if .Next }}<li><a href="{{ .Next.RelPermalink }}" class="p_arrow" title="Next blog post: {{ .Next.Title }}"><i>›</i></a></li>{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
@ -0,0 +1,28 @@
|
||||
{{ if .Site.Params.showtopprofile }}
|
||||
<section class="profile_area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="profile_inner">
|
||||
<div class="profile_picture"><a href="{{ .Site.BaseURL }}"><img src="{{ .Site.Params.logo }}" alt="title" /></a></div>
|
||||
<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h2>
|
||||
<p>{{ .Site.Params.description }}</p>
|
||||
{{ if .Site.Params.ShowTopSocial }}
|
||||
<div class="social_icon">
|
||||
{{ with .Site.Params.Social.github }}<a href="https://github.com/{{ . }}" title="@{{ . }} on github" target="_blank"> <i class='icon icon-github'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.bitbucket }}<a href="https://bitbucket.org/{{ . }}" title="@{{ . }} on bitbucket" target="_blank"> <i class='icon icon-bitbucket'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.twitter }}<a href="http://twitter.com/{{ . }}" title="@{{ . }} on Twitter" target="_blank"> <i class='icon icon-twitter'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.facebook }}<a href="https://www.facebook.com/{{ . }}" title="@{{ . }} on Facebook" target="_blank"> <i class='icon icon-facebook-square'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.flickr }}<a href="http://www.flickr.com/photos/{{ . }}/" title="{{ . }} on flickr" target="_blank"> <i class='icon icon-flickr'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.linkedin }}<a href="http://no.linkedin.com/in/{{ . }}/en" title="Linkedin" target="_blank"> <i class='icon icon-linkedin-square'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.skype }}<a href="skype:{{ . }}?call" title="Call {{ . }} on skype"> <i class='icon icon-skype'></i></a>{{ end }}
|
||||
{{ with .Site.Params.Social.email }}<a href="mailto:{{ . }}" title="Email {{ . }}"> <i class='icon icon-envelope-o'></i></a>{{ end }}
|
||||
{{ with .OutputFormats.Get "RSS" }}<a href="{{ .RelPermalink }}" /> <i class='icon icon-rss'></i></a>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
@ -0,0 +1,13 @@
|
||||
<article class="home_single_post gallery_post_type" typeof="BlogPosting">
|
||||
{{ partial "post/image_area.html" . }}
|
||||
<div class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<div class="post_list" property="articleBody">
|
||||
<header><h2><a href="{{ .Permalink }}" property="headline">{{ .Title }}</a></h2></header>
|
||||
</div>
|
||||
{{ partial "post/info.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
@ -0,0 +1,24 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="main_content_area">
|
||||
<div id="expand_content_menu"><span class="icon icon-bars"></span></div>
|
||||
<div id="body_hover"></div>
|
||||
{{ partial "profile_heading.html" . }}
|
||||
<section class="home_page_post_area single_page_post_area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="home_single_post">
|
||||
{{ partial "post/image_area.html" . }}
|
||||
{{ partial "post/single_content_area.html" . }}
|
||||
{{ partial "author_shortbio.html" . }}
|
||||
{{ partial "comment_area.html" . }}
|
||||
{{ partial "post/single_pagination.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,15 @@
|
||||
<article class="home_single_post gallery_post_type" typeof="BlogPosting">
|
||||
{{ partial "post/image_area.html" . }}
|
||||
<div class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<div class="single_post_summary" property="articleBody">
|
||||
<header><h2><a href="{{ .Permalink }}" property="headline">{{ .Title }}</a></h2></header>
|
||||
<p>{{ .Summary }}</p>
|
||||
<footer><ul class="pager"><li class="next"><a href="{{ .Permalink }}">Read more »</a></li></u></footer>
|
||||
</div>
|
||||
{{ partial "post/info.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
@ -0,0 +1,4 @@
|
||||
<li>
|
||||
<h5><a href="{{ .Permalink }}">{{ .Title}}</a><br>
|
||||
<small>posted on {{ .Date.Format "January 2, 2006" }}</small></h5>
|
||||
</li>
|
@ -0,0 +1,35 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body vocab="http://schema.org/" typeof="WebPage">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
<div class="well well-sm">
|
||||
<h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3>
|
||||
<hr>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar -->
|
||||
<div class="col-md-3">
|
||||
<div class="well well-sm"> <!-- Post-specific stats -->
|
||||
<h4>{{ .Date.Format "January 2, 2006" }}<br>
|
||||
<small>{{ .WordCount }} words</small></h4>
|
||||
<hr>
|
||||
<strong>Categories</strong>
|
||||
<ul class="list-unstyled">
|
||||
{{ range .Params.categories }}
|
||||
<li><a href="/categories/{{ . | urlize }}">{{ . }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<hr>
|
||||
<strong>Tags</strong><br>
|
||||
{{ range .Params.tags }}<a class="label label-default" href="/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}
|
||||
</div>
|
||||
{{ partial "menu.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.copyright.html" . }}
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@ -0,0 +1,14 @@
|
||||
<div class="home_single_post">
|
||||
<div class="post_content_area">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
|
||||
<div class="single_post_content">
|
||||
<div class="single_blockquote">
|
||||
<h2><a href="#"><sup>“</sup>{{ .Description }}<sup>”</sup></a></h2>
|
||||
<a href="">{{ .Params.quote_source }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,78 @@
|
||||
<!--
|
||||
lightSlider + lightGallery hugo integration
|
||||
|
||||
This requires the SourceJSON extension from Cyrill Schumacher.
|
||||
|
||||
https://github.com/SchumacherFM/hugo/tree/dynamicPagesWithJsonCsv
|
||||
|
||||
Params:
|
||||
name: css #id of your slider
|
||||
url: path or url of your slider.json
|
||||
includejs: add a jquery.min.js, lightGallery.min.js and jquery.lightSlider.min.js include.
|
||||
|
||||
Creates a lightSlider on your page, call it with: {{/*
|
||||
|
||||
{{% lightslider name="<your-slider-name>" url="<url_or_path-to-your-slider.json" [includejs="true"] %}}
|
||||
|
||||
*/}}
|
||||
|
||||
Example: {{/*
|
||||
|
||||
{{% lightslider name="post_pcengines_apu1d4_slider1" url="data/post/pcengines_apu1d4.json" includejs="true" %}}
|
||||
|
||||
*/}}
|
||||
-->
|
||||
{{ if $.Get "includejs" }}
|
||||
<script src="{{ $.Page.Site.BaseURL }}/static/js/jquery.min.js"></script>
|
||||
<script src="{{ $.Page.Site.BaseURL }}/static/js/lightGallery.min.js"></script>
|
||||
<script src="{{ $.Page.Site.BaseURL }}/static/js/jquery.lightSlider.min.js"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Get "url" }}
|
||||
{{ $url := . }}
|
||||
{{ with $.Get "name" }}
|
||||
{{ $name := . }}
|
||||
<ul id="{{ $name }}" class="cs-hidden" style="list-style: none; margin: 0;">
|
||||
{{ $data := getJSON $url }}
|
||||
{{ range $data.items }}
|
||||
{{ $item := . }}
|
||||
<li data-thumb="{{ $item.thumb }}" data-src="{{ $item.full }}">
|
||||
<img src="{{ $item.full }}" alt="{{ $item.alt }}" />
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<script>
|
||||
jQuery('document').ready(function(){
|
||||
jQuery('#{{ $name }}').lightSlider({
|
||||
gallery: true,
|
||||
{{ if isset $data.settings "item" }}item: {{ index $data.settings "item" }},{{ end }}
|
||||
{{ if isset $data.settings "thumbItem" }}thumbItem: {{ index $data.settings "thumbItem" }},{{ end }}
|
||||
{{ if isset $data.settings "slideMargin" }}slideMargin: {{ index $data.settings "slideMargin" }},{{ end }}
|
||||
{{ if isset $data.settings "currentPagerPosition" }}currentPagerPosition: {{ index $data.settings "currentPagerPosition" }},{{ end }}
|
||||
{{ if isset $data.settings "slideMove" }}slideMove: {{ index $data.settings "slideMove" }},{{ end }}
|
||||
{{ if isset $data.settings "easing" }}easing: {{ index $data.settings "easing" }},{{ end }}
|
||||
{{ if isset $data.settings "speed" }}speed: {{ index $data.settings "speed" }},{{ end }}
|
||||
responsive : [
|
||||
{{ range $data.settings.responsive }}
|
||||
{{ $responsive := . }}
|
||||
{
|
||||
{{ if isset $responsive "breakpoint" }}breakpoint: {{ index $responsive "breakpoint" }},{{ end }}
|
||||
{{ if isset $responsive "settings" }}
|
||||
settings: {
|
||||
{{ if isset $responsive.settings "item" }}item: {{ index $responsive.settings "item" }},{{ end }}
|
||||
{{ if isset $responsive.settings "slideMove" }}slideMove: {{ index $responsive.settings "slideMove" }},{{ end }}
|
||||
{{ if isset $responsive.settings "slideMargin" }}slideMargin: {{ index $responsive.settings "slideMargin" }},{{ end }}
|
||||
}
|
||||
{{ end }}
|
||||
},
|
||||
{{ end }}
|
||||
],
|
||||
onSliderLoad: function() {
|
||||
jQuery("#{{ $name }}").lightGallery();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
@ -0,0 +1,3 @@
|
||||
<div class="embed video-player">
|
||||
<iframe src="http://player.vimeo.com/video/{{ index .Params 0 }}" width="640" height="385" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
||||
</div>
|
@ -0,0 +1,13 @@
|
||||
|
||||
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
|
||||
<div class="flex-video">
|
||||
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/{{ .Get "videoId" }}" allowfullscreen frameborder="0">
|
||||
</iframe>
|
||||
</div>
|
||||
{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
|
||||
<figcaption>
|
||||
{{ if isset .Params "title" }}<h4>{{ .Get "title" }}</h4>{{ end }}
|
||||
{{ if or (.Get "caption") (.Get "attr")}}<p>{{ .Get "caption" }}</p> {{ end }}
|
||||
</figcaption>
|
||||
{{ end }}
|
||||
</figure>
|
@ -0,0 +1,10 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{{ range .Data.Pages }}
|
||||
<url>
|
||||
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
|
||||
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
|
||||
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
|
||||
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}
|
||||
</url>
|
||||
{{ end }}
|
||||
</urlset>
|
Binary file not shown.
After Width: | Height: | Size: 824 B |
@ -0,0 +1 @@
|
||||
../../../vendor/bootstrap/css/bootstrap-theme.min.css
|
@ -0,0 +1 @@
|
||||
../../../vendor/bootstrap/css/bootstrap.min.css
|
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1,16 @@
|
||||
|
||||
@media(max-width:767px){
|
||||
|
||||
|
||||
}
|
||||
@media(min-width:768px){
|
||||
|
||||
}
|
||||
@media(min-width:992px){
|
||||
|
||||
|
||||
}
|
||||
@media(min-width:1200px){
|
||||
|
||||
|
||||
}
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/arta.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/ascetic.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-dune.dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-dune.light.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-forest.dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-forest.light.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-heath.dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-heath.light.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-lakeside.dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-lakeside.light.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-seaside.dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/atelier-seaside.light.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/brown_paper.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/brown_papersq.png
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/codepen-embed.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/color-brewer.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/default.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/docco.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/far.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/foundation.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/github.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/googlecode.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/hybrid.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/idea.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/ir_black.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/kimbie.dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/kimbie.light.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/magula.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/mono-blue.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/monokai.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/monokai_sublime.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/obsidian.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/paraiso.dark.css
|
@ -0,0 +1 @@
|
||||
../../../../vendor/highlightjs/styles/paraiso.light.css
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue