Permalink
Browse files

init

  • Loading branch information...
vjeantet committed Feb 26, 2015
1 parent 5935061 commit a045ec1d57f65ba259cc26bb371499b0b7d810d1
View
@@ -0,0 +1,2 @@
tmp
.DS_Store
View
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2015 YOUR_NAME_HERE
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.
View
No changes.
View
@@ -0,0 +1,27 @@
<article class="{{ .Type }}">
<header class="post-header">
<h2 class="post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
</header>
<section class="post-excerpt">
<p>{{ .Summary }} <a class="read-more" href="{{.RelPermalink}}">&raquo;</a></p>
</section>
<footer class="post-meta">
{{if .Site.Params.authorimage }}
<img class="author-thumb" src="{{.Site.Params.author.image}}" alt="Author image" nopin="nopin" />
{{end}}
{{if .Site.Params.author}}
{{.Site.Params.author}}
{{end}}
{{if .Params.tags }}on
{{ range $index, $tag := .Params.tags }}
<a href="/tags/{{ $tag | urlize }}">{{ $tag }}</a>,
{{ end }}
{{end}}
<time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHtml }}">
{{ .Date.Format "2 Jan 2006" }}
</time>
</footer>
</article>
View
@@ -0,0 +1,60 @@
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseUrl }}
{{if .Params.cover}}
<header class="main-header tag-head" style="background-image: url({{.Params.cover}})">
{{else if .Site.Params.cover}}
<header class="main-header tag-head" style="background-image: url(/{{.Site.Params.cover}})">
{{else}}
<header class="main-header tag-head no-cover">
{{end}}
<nav class="main-nav overlay clearfix">
<a class="back-button icon-arrow-left" href="{{ .Site.BaseUrl }}">Home</a>
<a class="subscribe-button icon-feed" href="{{ .RSSLink }}">Subscribe</a>
</nav>
<div class="vertical">
<div class="main-header-content inner">
<h1 class="page-title">{{.Title}}</h1>
<h2 class="page-description">
{{if .Params.description}}
{{.Params.description}}
{{end}}
</h2>
</div>
</div>
</header>
<main class="content" role="main">
<div class="extra-pagination inner">
<nav class="pagination" role="navigation">
{{if .Paginator.HasPrev}}
<a class="newer-posts" href="{{ .Paginator.Prev.Url }}">&larr; Newer Posts</a>
{{end}}
<span class="page-number">Page {{ .Paginator.PageNumber }} of {{.Paginator.TotalPages}}</span>
{{if .Paginator.HasNext}}
<a class="older-posts" href="{{ .Paginator.Next.Url }}">Older Posts &rarr;</a>
{{end}}
</nav>
</div>
{{ $paginator := .Paginate (where .Data.Pages "Section" "post") }}
{{ range $index, $page := .Paginator.Pages }}
{{ .Render "li" }}
{{ end }}
<nav class="pagination" role="navigation">
{{if .Paginator.HasPrev}}
<a class="newer-posts" href="{{ .Paginator.Prev.Url }}">&larr; Newer Posts</a>
{{end}}
<span class="page-number">Page {{ .Paginator.PageNumber }} of {{.Paginator.TotalPages}}</span>
{{if .Paginator.HasNext}}
<a class="older-posts" href="{{ .Paginator.Next.Url }}">Older Posts &rarr;</a>
{{end}}
</nav>
</main>
{{ partial "footer.html" . }}
@@ -0,0 +1,101 @@
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseUrl }}
{{if .Params.image}}
<header class="main-header post-head" style="background-image: url({{.Params.image}})">
<nav class="main-nav overlay clearfix">
{{else}}
<header class="main-header post-head no-cover">
<nav class="main-nav clearfix">
{{end}}
<a class="back-button icon-arrow-left" href="{{ .Site.BaseUrl }}">Home</a>
<a class="subscribe-button icon-feed" href="{{ .RSSLink }}">Subscribe</a>
</nav>
</header>
<main class="content" role="main">
<article class="{{.Type}}">
<header class="post-header">
<h1 class="post-title">{{.Title}}</h1>
<section class="post-meta">
<time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHtml }}">
{{ .Date.Format "Jan 2, 2006" }}
</time>
{{ range .Params.tags }}
<span class="post-tag small"><a href="{{ $baseurl }}/tags/{{ . | urlize }}">#{{ . }}</a></span>
{{ end }}
</section>
</header>
<section class="post-content">
{{ .Content }}
</section>
<footer class="post-footer">
{{if .Site.Params.authorimage}}
<figure class="author-image">
<a class="img" href="{{.Site.BaseUrl}}" style="background-image: url(/{{.Site.Params.authorimage}})"><span class="hidden">{{.Site.Params.author}}'s Picture</span></a>
</figure>
{{end}}
<section class="author">
<h4><a href="{{.Site.BaseUrl}}">{{.Site.Params.author}}</a></h4>
{{if .Site.Params.bio}}
<p>{{.Site.Params.bio}}</p>
{{else}}
<p>Read <a href="{{.Site.BaseUrl}}">more posts</a> by this author.</p>
{{end}}
<div class="author-meta">
{{if .Site.Params.authorlocation}}<span class="author-location icon-location">{{.Site.Params.authorlocation}}</span>{{end}}
{{if .Site.Params.authorwebsite}}<span class="author-link icon-link"><a href="{{.Site.Params.authorwebsite}}">{{.Site.Params.authorwebsite}}</a></span>{{end}}
</div>
</section>
<section class="share">
<h4>Share this post</h4>
<a class="icon-twitter" href="https://twitter.com/share?text={{ .Title | safeHtml}}&amp;url={{ .Permalink }}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
</a>
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
</a>
<a class="icon-google-plus" href="https://plus.google.com/share?url={{ .Permalink }}"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<span class="hidden">Google+</span>
</a>
</section>
{{ with .Site.DisqusShortname }}
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{{ . }}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{{ end }}
</footer>
</article>
</main>
{{ partial "footer.html" . }}
View
@@ -0,0 +1,56 @@
{{ partial "header.html" . }}
{{if .Site.Params.cover}}
<header class="main-header " style="background-image: url(/{{.Site.Params.cover}})">
{{else}}
<header class="main-header no-cover">
{{end}}
<nav class="main-nav overlay clearfix">
{{ if .Site.Params.logo }}
<a class="blog-logo" href="{{ .Permalink }}"><img src="/{{ .Site.Params.logo }}" alt="Blog Logo" /></a>
{{end}}
<a class="subscribe-button icon-feed" href="{{ .RSSLink }}">Subscribe</a>
</nav>
<div class="vertical">
<div class="main-header-content inner">
<h1 class="page-title">{{ .Site.Title }}</h1>
<h2 class="page-description">{{ .Site.Params.description }}</h2>
</div>
</div>
<a class="scroll-down icon-arrow-left" href="#content" data-offset="-45"><span class="hidden">Scroll Down</span></a>
</header>
<main id="content" class="content" role="main">
<div class="extra-pagination inner">
<nav class="pagination" role="navigation">
{{if .Paginator.HasPrev}}
<a class="newer-posts" href="{{ .Paginator.Prev.Url }}">&larr; Newer Posts</a>
{{end}}
<span class="page-number">Page {{ .Paginator.PageNumber }} of {{.Paginator.TotalPages}}</span>
{{if .Paginator.HasNext}}
<a class="older-posts" href="{{ .Paginator.Next.Url }}">Older Posts &rarr;</a>
{{end}}
</nav>
</div>
{{ range $index, $page := .Paginator.Pages }}
{{ .Render "li" }}
{{ end }}
<nav class="pagination" role="navigation">
{{if .Paginator.HasPrev}}
<a class="newer-posts" href="{{ .Paginator.Prev.Url }}">&larr; Newer Posts</a>
{{end}}
<span class="page-number">Page {{ .Paginator.PageNumber }} of {{.Paginator.TotalPages}}</span>
{{if .Paginator.HasNext}}
<a class="older-posts" href="{{ .Paginator.Next.Url }}">Older Posts &rarr;</a>
{{end}}
</nav>
</main>
{{ partial "footer.html" . }}
@@ -0,0 +1,11 @@
<footer class="site-footer clearfix">
<section class="copyright"><a href="">{{.Site.Title}}</a> {{.Site.Copyright}}</section>
<section class="poweredby">Proudly published with <a href="http://gohugo.io">HUGO</a>, , theme from <a class="icon-ghost" href="https://github.com/TryGhost/Casper">Ghost (Casper)</a></section>
</footer>
<script type="text/javascript" src="/js/jquery.fitvids.js"></script>
<script type="text/javascript" src="/js/index.js"></script>
</body>
</html>
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="{{.Site.LanguageCode}}">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta property="og:title" content="{{ if ne .Url "/" }} {{ .Title }} &middot; {{ end }} {{ .Site.Title }}" />
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ if .IsPage }}
<meta property="og:type" content="article" />
{{ with .Site.Params.facebook }}
<meta property="og:article:author" content="https://facebook.com/{{ . }}" />
{{ end }}
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHtml }}" />
{{ range .Params.tags }}
<meta property="og:article:tag" content="{{ . }}" />
{{ end }}
{{ else }}
<meta property="og:type" content="website" />
{{ end }}
<title>
{{ if ne .Url "/" }} {{ .Title }} &middot; {{ end }} {{ .Site.Title }}
</title>
<meta name="description" content="{{ .Site.Params.description }}" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/images/favicon.ico">
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png" />
<link rel="stylesheet" type="text/css" href="/css/screen.css" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{.Hugo.Generator}}
<link rel="canonical" href="http://vjeantet.fr/" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-79101-12', 'vjeantet.fr');
ga('send', 'pageview');
</script>
</head>
<body class="">
Oops, something went wrong.

0 comments on commit a045ec1

Please sign in to comment.