diff options
author | Loïc Hoguin <[email protected]> | 2016-03-28 15:36:42 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-03-28 15:36:42 +0200 |
commit | fe3492a98de29942477b061cd02c92246f4bf85a (patch) | |
tree | 2255b796a657e6e4dfb72beec1141258d17f1220 /_build/themes/ninenines/layouts | |
download | ninenines.eu-fe3492a98de29942477b061cd02c92246f4bf85a.tar.gz ninenines.eu-fe3492a98de29942477b061cd02c92246f4bf85a.tar.bz2 ninenines.eu-fe3492a98de29942477b061cd02c92246f4bf85a.zip |
Initial commit, new website system
Diffstat (limited to '_build/themes/ninenines/layouts')
25 files changed, 743 insertions, 0 deletions
diff --git a/_build/themes/ninenines/layouts/_default/li.html b/_build/themes/ninenines/layouts/_default/li.html new file mode 100644 index 00000000..508b8fc2 --- /dev/null +++ b/_build/themes/ninenines/layouts/_default/li.html @@ -0,0 +1 @@ +<li><time>{{ with .Site.Params.dateFormat }}{{ $.Date.Format . }}{{ else }}{{ .Date.Format "02 Jan 2006, 15:04" }}{{ end }}</time> - <a href="{{ .Permalink }}">{{ .Title }}</a></li> diff --git a/_build/themes/ninenines/layouts/_default/single.html b/_build/themes/ninenines/layouts/_default/single.html new file mode 100644 index 00000000..b05e5516 --- /dev/null +++ b/_build/themes/ninenines/layouts/_default/single.html @@ -0,0 +1,12 @@ +{{ partial "header.html" . }} +</header> + +<div class="header"> + <h1>{{ .Title }}</h1> + <h2>{{ .Description }}</h2> +</div> +<div class="content"> + {{ .Content }} +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/_default/summary.html b/_build/themes/ninenines/layouts/_default/summary.html new file mode 100644 index 00000000..fbd4d8b3 --- /dev/null +++ b/_build/themes/ninenines/layouts/_default/summary.html @@ -0,0 +1,18 @@ +<article> + <header> + <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> + + {{ partial "post_meta.html" . }} + + </header> + + <p> + {{ .Summary }} + </p> + + {{ if .Truncated }} + <footer> + <a href="{{ .RelPermalink }}">Read more<i class="fa fa-angle-double-right fa-fw"></i></a> + </footer> + {{ end }} +</article> diff --git a/_build/themes/ninenines/layouts/_default/terms.html b/_build/themes/ninenines/layouts/_default/terms.html new file mode 100644 index 00000000..70467be5 --- /dev/null +++ b/_build/themes/ninenines/layouts/_default/terms.html @@ -0,0 +1,19 @@ +{{ partial "header.html" . }} +</header> + +<div class="header"> + <h1>{{ .Title }}</h1> +</div> +<div class="content"> + <ul> + {{ $data := .Data }} + {{ range $key, $value := .Data.Terms.ByCount }} + <li> + <a href="{{ $value.Name | urlize }}">{{ $value.Name }}</a> + <span>({{ $value.Count }})</span> + </li> + {{ end }} + </ul> +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/articles/single.html b/_build/themes/ninenines/layouts/articles/single.html new file mode 100644 index 00000000..edeb63de --- /dev/null +++ b/_build/themes/ninenines/layouts/articles/single.html @@ -0,0 +1,40 @@ +{{ partial "header.html" . }} +</header> + +<div id="contents"> +<div class="container"> +<div class="row"> +<div class="span9 maincol"> + +<article class="blog_item"> +<header> + <h1 class="lined-header"><span>{{ .Title }}</span></h1> + <p class="date"> + <span class="day">{{ .Date.Format "02" }}</span> + <span class="month">{{ .Date.Format "Jan" }}</span> + </p> +</header> + +{{ .Content }} +</article> +</div> + +<div class="span3 sidecol"> +<h3>More articles</h3> +<ul id="articles-nav" class="extra_margin"> + {{ range (where $.Site.Pages "Type" "articles") }} + <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> + {{ end }} +</ul> + +<h3>Feedback</h3> +<p>Feel free to <a href="mailto:[email protected]">email us</a> +if you found any mistake or need clarification on any of the +articles.</p> + +</div> +</div> +</div> +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/docs-index/single.html b/_build/themes/ninenines/layouts/docs-index/single.html new file mode 100644 index 00000000..5c59db1c --- /dev/null +++ b/_build/themes/ninenines/layouts/docs-index/single.html @@ -0,0 +1,48 @@ +{{ partial "header.html" . }} +</header> + +<div id="contents" class="two_col"> +<div class="container"> +<div class="row"> +<div class="span9 maincol"> + +<h1 class="lined-header"><span>Documentation</span></h1> + +{{ range $k, $project := $.Site.Data.projects }} + {{ if .external_site }} + <h2 id="{{ .name }}">{{ .title }}</h2> + <ul><li><a href="{{ .external_site }}">Official website</a></li></ul> + {{ end }} + {{ if or .has_guide .has_manual }} + <h2 id="{{ .name }}">{{ .title }}</h2> + <ul> + {{ range .versions }} + {{ if $project.has_guide }} + <li><a href="/docs/en/{{ $project.name }}/{{ . }}/guide">{{ $project.title }} {{ . }} User Guide</a></li> + {{ end }} + {{ if $project.has_manual }} + <li><a href="/docs/en/{{ $project.name }}/{{ . }}/manual">{{ $project.title }} {{ . }} Function Reference</a></li> + {{ end }} + {{ end }} + </ul> + {{ end }} +{{ end }} + +</div> +<div class="span3 sidecol"> +<h3>Navigation</h3> +<ul> + {{ range $.Site.Data.projects }} + {{ if or .external_site .has_guide .has_manual }} + <li><a href="#{{ .name }}">{{ .title }}</a></li> + {{ end }} + {{ end }} +</ul> + +{{ .Content }} +</div> +</div> +</div> +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/docs/single.html b/_build/themes/ninenines/layouts/docs/single.html new file mode 100644 index 00000000..b3eeefcd --- /dev/null +++ b/_build/themes/ninenines/layouts/docs/single.html @@ -0,0 +1,60 @@ +{{ partial "header.html" . }} +</header> + +<div id="contents" class="two_col"> +<div class="container"> +<div class="row"> +<div id="docs" class="span9 maincol"> + +<h1 class="lined-header"><span>{{ .Title }}</span></h1> + +{{ .Content }} + +<!-- a.code --> +</div> + +<div class="span3 sidecol"> +<!-- TODO: add the search back? +<div class="input-append"> +<form id="form-search" class="form-search" action="#"> + <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2"> + <button type="submit" class="btn btn-success">Go</button> +</form> +</div> +--> + +<h3> + {{ index .Site.Data.projects .Params.project "title" }} + {{ .Params.version }} + {{ if eq .Params.doctype "manual" }}Function Reference{{ end }} + {{ if eq .Params.doctype "guide" }}User Guide{{ end }} +</h3> + +<ul> + {{ if index .Site.Data.projects .Params.project "has_guide" }} + <li><a href="/docs/en/{{ .Params.project }}/{{ .Params.version }}/guide">User Guide</a></li> + {{ end }} + {{ if index .Site.Data.projects .Params.project "has_manual" }} + <li><a href="/docs/en/{{ .Params.project }}/{{ .Params.version }}/manual">Function Reference</a></li> + {{ end }} + <!-- TODO: link to relevant source file? --> +</ul> + +<h4 id="docs-nav">Navigation</h4> + +<h4>Version select</h4> +<ul> + {{ $.Scratch.Set "project" .Params.project }} + {{ $.Scratch.Set "doctype" .Params.doctype }} + {{ range (index .Site.Data.projects .Params.project "versions") }} + <li><a href="/docs/en/{{ $.Scratch.Get "project" }}/{{ . }}/{{ $.Scratch.Get "doctype" }}">{{ . }}</a></li> + {{ end }} +</ul> + +</div> +</div> +</div> +</div> + +{{ partial "footer.html" . }} + diff --git a/_build/themes/ninenines/layouts/index.html b/_build/themes/ninenines/layouts/index.html new file mode 100644 index 00000000..22ec32a7 --- /dev/null +++ b/_build/themes/ninenines/layouts/index.html @@ -0,0 +1,83 @@ +{{ partial "header.html" . }} + +<div class="navbar"> +<div class="navbar-inner"> +<div class="container"> + <em class="brand">Our projects</em> + <div class="nav-collapse"> + <ul class="nav"> + {{ $.Scratch.Set "projects" 0 }} + {{ range $.Site.Data.projects }} + <li{{ if eq .name $.Site.Params.main_project }} class="active"{{ end }}> + <a data-slide="{{ $.Scratch.Get "projects" }}" href="{{ .permalink }}">{{ .title }}</a> + {{ $.Scratch.Add "projects" 1 }} + </li> + {{ end }} + </ul> + </div> +</div> +</div> +</div> + +</header> + +<div id="contents" class="home"> +<div class="container"> + +<div id="home-carousel" class="carousel row"> +<div class="carousel-inner"> + {{ range $.Site.Data.projects }} + <div class="{{ if eq .name $.Site.Params.main_project }}active {{ end }}item"> + <div class="span5"> + <h1>{{ .title }}</h1> + <h2>{{ .catchphrase }}</h2> + <p>{{ .description }}</p> + <p class="right-buttons"> + <!-- <a class="btn btn-success btn-large">Learn More »</a> --> + <a class="btn btn-large" href="{{ .repository }}">Source Code</a> + {{ if .has_guide }} + <a class="btn btn-large" href="/docs/en/{{ .name }}/{{ index .versions 0 }}/guide/">User Guide</a> + {{ end }} + {{ if .has_manual }} + <a class="btn btn-large" href="/docs/en/{{ .name }}/{{ index .versions 0}}/manual/">Manual</a> + {{ end }} + {{ if .external_site }} + <a class="btn btn-large" href="{{ .external_site }}">Official Website</a> + {{ end }} + </p> + </div> + <div class="span7"> + <img src="img/projects/{{ .name }}-home.png" class="{{ .name }}-logo"></img> + </div> + </div> + {{ end }} +</div> +</div> + +<!-- Slogan--> +<div class="row" id="company-description"> + <div class="span12"> + {{ range $.Site.Pages }} + {{ if eq .RelPermalink "/slogan/" }} + {{ .Content}} + {{ end }} + {{ end }} + </div> +</div> + +<!-- TODO: Make that configurable --> +<section class="row" id="sponsors"> +<article class="span8"> + <a href="http://kato.im"><img src="img/sponsors/kato.png" style="display:block;margin:0 0 0 20px"/></a> +</article> +<article class="span4"> + <a href="http://shiguredo.jp"><img src="img/sponsors/shiguredo.png" style="display:block;margin:40px 20px 0 0"/></a> +</article> +</section> + +</div> +</div> + + + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/indexes/articles.html b/_build/themes/ninenines/layouts/indexes/articles.html new file mode 100644 index 00000000..ce8f9b4c --- /dev/null +++ b/_build/themes/ninenines/layouts/indexes/articles.html @@ -0,0 +1,36 @@ +{{ partial "header.html" . }} +</header> + +<div id="contents" class="two_col"> +<div class="container"> +<div class="row"> +<div class="span9 maincol"> + +<h1 class="lined-header"><span>Articles</span></h1> + +{{ range (.Paginate (where .Data.Pages "Type" "articles")).Pages }} + <article class="blog_item"> + <header> + <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> + <p class="date"> + <span class="day">{{ .Date.Format "02" }}</span> + <span class="month">{{ .Date.Format "Jan" }}</span> + </p> + </header> + + <p>{{ .Summary }}</p> + + <p style="text-align:right"> + <a class="read_more" href="{{ .Permalink }}">Read More</a> + </p> + </article> +{{ end }} + +{{ partial "pagination.html" . }} + +</div> +</div> +</div> +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/partials/brand.html b/_build/themes/ninenines/layouts/partials/brand.html new file mode 100644 index 00000000..99486dac --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/brand.html @@ -0,0 +1,3 @@ +{{ with .Site.Params.brand }} + <a class="pure-menu-heading brand" href="/">{{ . | safeHTML }}</a> +{{ end }}
\ No newline at end of file diff --git a/_build/themes/ninenines/layouts/partials/copyright.html b/_build/themes/ninenines/layouts/partials/copyright.html new file mode 100644 index 00000000..a09605f1 --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/copyright.html @@ -0,0 +1,9 @@ +<div class="pure-g"> + <div class="small-print pure-u-1 pure-u-md-1-1"> + <small>{{ .Site.Copyright | safeHTML }}</small> + </div> + <div class="small-print pure-u-1 pure-u-md-1-1"> + <small>Built with <a href="https://gohugo.io/" target="_blank">Hugo</a></small> + <small>Theme <a href="https://github.com/yoshiharuyamashita/blackburn" target="_blank">Blackburn</a></small> + </div> +</div> diff --git a/_build/themes/ninenines/layouts/partials/disqus.html b/_build/themes/ninenines/layouts/partials/disqus.html new file mode 100644 index 00000000..6618e45e --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/disqus.html @@ -0,0 +1,19 @@ +{{ with .Site.Params.disqus }} +<div id="disqus_thread"></div> +<script type="text/javascript"> + +(function() { + // Don't ever inject Disqus on localhost--it creates unwanted + // discussions from 'localhost:1313' on your Disqus account... + if (window.location.hostname == "localhost") + return; + + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + var disqus_shortname = '{{ . }}'; + 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="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> +<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> +{{ end }}
\ No newline at end of file diff --git a/_build/themes/ninenines/layouts/partials/footer.html b/_build/themes/ninenines/layouts/partials/footer.html new file mode 100644 index 00000000..0b199856 --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/footer.html @@ -0,0 +1,26 @@ + <footer> + <div class="container"> + <div class="row"> + <div class="span6"> + <p id="scroll-top"><a href="#">↑ Scroll to top</a></p> + <nav> + <ul> + <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li> + </ul> + </nav> + </div> + <div class="span6 credits"> + <p><img src="/img/footer_logo.png"></p> + <p>Copyright © Loïc Hoguin 2012-2016</p> + </div> + </div> + </div> + </footer> + + <!-- Javascript --> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> + <script src="/js/bootstrap-carousel.js"></script> + <script src="/js/bootstrap-dropdown.js"></script> + <script src="/js/custom.js"></script> + </body> +</html> diff --git a/_build/themes/ninenines/layouts/partials/google_analytics.html b/_build/themes/ninenines/layouts/partials/google_analytics.html new file mode 100644 index 00000000..1548a333 --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/google_analytics.html @@ -0,0 +1,12 @@ +{{ with .Site.Params.googleAnalytics }} +<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', '{{ . }}', 'auto'); + ga('send', 'pageview'); + +</script> +{{ end }} diff --git a/_build/themes/ninenines/layouts/partials/head.html b/_build/themes/ninenines/layouts/partials/head.html new file mode 100644 index 00000000..68db2795 --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/head.html @@ -0,0 +1,24 @@ +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}"> + <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara"> + + {{.Hugo.Generator}} + + <title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Site.Title }}: {{ .Title }}{{ end }}</title> + + <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'> + <!-- @todo Remove Bootstrap. --> + <link href="/css/bootstrap.min.css" rel="stylesheet"> + <link href="/css/99s.css" rel="stylesheet"> + + <link rel="shortcut icon" href="/img/ico/favicon.ico"> + <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png"> + <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png"> + <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png"> + + {{ if .RSSlink }} + <link rel="alternate" href="{{ .RSSlink }}" type="application/rss+xml" title="{{ .Site.Title }}" /> + {{ end }} +</head> diff --git a/_build/themes/ninenines/layouts/partials/header.html b/_build/themes/ninenines/layouts/partials/header.html new file mode 100644 index 00000000..2d4b26dd --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/header.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html lang="en"> + +{{ partial "head.html" . }} + +<body class="{{ if .IsHome }}home big_text{{ end }}"> + <header id="page-head"> + <div id="topbar" class="container"> + <div class="row"> + <div class="span2"> + <h1 id="logo"><a href="/" title="99s">99s</a></h1> + </div> + <div class="span10"> + <!-- Top navigation and social icons--> + <div id="side-header"> + <nav> + <ul> + <li{{ if or (eq .URL "/articles/") (eq .Section "articles") }} class="active"{{ end }}><a title="Hear my thoughts" href="/articles">Articles</a></li> + <li{{ if .IsPage }}{{ if eq .Type "talks" }} class="active"{{ end }}{{ end }}><a title="Watch my talks" href="/talks">Talks</a></li> + <li{{ if .IsPage }}{{ if or (eq .Type "docs-index") (eq .Section "docs") }} class="active"{{ end }}{{ end }}><a title="Read the docs" href="/docs">Documentation</a></li> + <li{{ if .IsPage }}{{ if eq .Type "services" }} class="active"{{ end }}{{ end }}><a title="Request my services" href="/services">Consulting & Training</a></li> + </ul> + </nav> + <ul id="social"> + <li> + <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a> + </li> + <li> + <a title="Keep in touch!" href="http://twitter.com/lhoguin"><img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png"></a> + </li> + <li> + <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a> + </li> + </ul> + </div> + </div> + </div> + </div> + diff --git a/_build/themes/ninenines/layouts/partials/pagination.html b/_build/themes/ninenines/layouts/partials/pagination.html new file mode 100644 index 00000000..50c8c4ff --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/pagination.html @@ -0,0 +1,11 @@ +{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }} +<nav class="pagination" role="pagination"> + {{ if .Paginator.HasPrev }} + <a href="{{ .Paginator.Prev.URL }}"><i class="fa fa-angle-double-left"></i></a> + {{ end }} + <span>{{ .Paginator.PageNumber }} / {{ .Paginator.TotalPages }}</span> + {{ if .Paginator.HasNext }} + <a href="{{ .Paginator.Next.URL }}"><i class="fa fa-angle-double-right"></i></a> + {{ end }} +</nav> +{{ end }} diff --git a/_build/themes/ninenines/layouts/partials/post_meta.html b/_build/themes/ninenines/layouts/partials/post_meta.html new file mode 100644 index 00000000..abc6bb98 --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/post_meta.html @@ -0,0 +1,34 @@ +<div class="post-meta"> + + <div> + <i class="fa fa-calendar fa-fw"></i> + <time>{{ with .Site.Params.dateFormat }}{{ $.Date.Format . }}{{ else }}{{ .Date.Format "02 Jan 2006, 15:04" }}{{ end }}</time> + </div> + + {{ $baseUrl := .Site.BaseURL }} + + {{ if isset .Params "topics" }} + {{ $count := len .Params.topics }} + {{ if gt $count 0 }} + <div> + <i class="fa fa-folder fa-fw"></i> + {{ range $k, $v := .Params.topics }} + <a class="post-taxonomy-topic" href="{{ $baseUrl }}topics/{{ . | urlize }}">{{ . }}</a>{{ if lt $k (sub $count 1) }} /{{ end }} + {{ end }} + </div> + {{ end }} + {{ end }} + + {{ if isset .Params "tags" }} + {{ $count := len .Params.tags }} + {{ if gt $count 0 }} + <div> + <i class="fa fa-tags fa-fw"></i> + {{ range $k, $v := .Params.tags }} + <a class="post-taxonomy-tag" href="{{ $baseUrl }}tags/{{ . | urlize }}">{{ . }}</a>{{ if lt $k (sub $count 1) }} /{{ end }} + {{ end }} + </div> + {{ end }} + {{ end }} + +</div>
\ No newline at end of file diff --git a/_build/themes/ninenines/layouts/partials/prev_next_post.html b/_build/themes/ninenines/layouts/partials/prev_next_post.html new file mode 100644 index 00000000..6b08420c --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/prev_next_post.html @@ -0,0 +1,18 @@ +{{ if or (.Prev) (.Next) }} +<div class="prev-next-post pure-g"> + <div class="pure-u-1 pure-u-md-1-2"> + {{ if .PrevInSection }} + <nav class="prev"> + <a href="{{ .PrevInSection.Permalink }}"><i class="fa fa-arrow-circle-left fa-fw fa-lg"></i>{{ .PrevInSection.Title }}</a> + </nav> + {{ end }} + </div> + <div class="pure-u-1 pure-u-md-1-2"> + {{ if .NextInSection }} + <nav class="next"> + <a href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }}<i class="fa fa-arrow-circle-right fa-fw fa-lg"></i></a> + </nav> + {{ end }} + </div> +</div> +{{ end }} diff --git a/_build/themes/ninenines/layouts/partials/social.html b/_build/themes/ninenines/layouts/partials/social.html new file mode 100644 index 00000000..9cff3660 --- /dev/null +++ b/_build/themes/ninenines/layouts/partials/social.html @@ -0,0 +1,127 @@ +<div class="pure-menu social"> + <ul class="pure-menu-list"> + + <li class="pure-menu-item"> + <a class="pure-menu-link" href="{{ .Site.BaseURL }}index.xml"><i class="fa fa-rss fa-fw"></i>RSS</a> + </li> + + <!-- SNS microblogging --> + + {{ with .Site.Social.twitter }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://twitter.com/{{ . }}" target="_blank"><i class="fa fa-twitter-square fa-fw"></i>Twitter</a> + </li> + {{ end }} + + {{ with .Site.Social.facebook }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://facebook.com/{{ . }}" target="_blank"><i class="fa fa-facebook-square fa-fw"></i>Facebook</a> + </li> + {{ end }} + + {{ with .Site.Social.googleplus }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://plus.google.com/+{{ . }}" target="_blank"><i class="fa fa-google-plus-square fa-fw"></i>Google+</a> + </li> + {{ end }} + + {{ with .Site.Social.weibo }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="http://weibo.com/{{ . }}" target="_blank"><i class="fa fa-weibo fa-fw"></i>Weibo</a> + </li> + {{ end }} + + <!-- SNS photo/video sharing --> + + {{ with .Site.Social.instagram }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://instagram.com/{{ . }}" target="_blank"><i class="fa fa-instagram fa-fw"></i>Instagram</a> + </li> + {{ end }} + + {{ with .Site.Social.flickr }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://flickr.com/photos/{{ . }}" target="_blank"><i class="fa fa-flickr fa-fw"></i>Flickr</a> + </li> + {{ end }} + + {{ with .Site.Social.pinterest }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://pinterest.com/{{ . }}" target="_blank"><i class="fa fa-pinterest-square fa-fw"></i>Pinterest</a> + </li> + {{ end }} + + {{ with .Site.Social.youtube }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://youtube.com/user/{{ . }}" target="_blank"><i class="fa fa-youtube-square fa-fw"></i>YouTube</a> + </li> + {{ end }} + + {{ with .Site.Social.vimeo }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://vimeo.com/{{ . }}" target="_blank"><i class="fa fa-vimeo-square fa-fw"></i>Vimeo</a> + </li> + {{ end }} + + {{ with .Site.Social.vine }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://vine.co/{{ . }}" target="_blank"><i class="fa fa-vine fa-fw"></i>Vine</a> + </li> + {{ end }} + + {{ with .Site.Social.slideshare }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="http://slideshare.net/{{ . }}" target="_blank"><i class="fa fa-slideshare fa-fw"></i>SlideShare</a> + </li> + {{ end }} + + <!-- SNS career oriented --> + + {{ with .Site.Social.linkedin }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://linkedin.com/in/{{ . }}" target="_blank"><i class="fa fa-linkedin-square fa-fw"></i>LinkedIn</a> + </li> + {{ end }} + + {{ with .Site.Social.xing }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://xing.com/profile/{{ . }}" target="_blank"><i class="fa fa-xing-square fa-fw"></i>Xing</a> + </li> + {{ end }} + + <!-- SNS news --> + + {{ with .Site.Social.reddit }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://reddit.com/user/{{ . }}" target="_blank"><i class="fa fa-reddit-square fa-fw"></i>Reddit</a> + </li> + {{ end }} + + {{ with .Site.Social.hackernews }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://news.ycombinator.com/user?id={{ . }}" target="_blank"><i class="fa fa-hacker-news fa-fw"></i>Hacker News</a> + </li> + {{ end }} + + <!-- Techie --> + + {{ with .Site.Social.github }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://github.com/{{ . }}" target="_blank"><i class="fa fa-github-square fa-fw"></i>GitHub</a> + </li> + {{ end }} + + {{ with .Site.Social.bitbucket }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https:////bitbucket.org/{{ . }}" target="_blank"><i class="fa fa-bitbucket-square fa-fw"></i>Bitbucket</a> + </li> + {{ end }} + + {{ with .Site.Social.stackoverflow }} + <li class="pure-menu-item"> + <a class="pure-menu-link" href="https://stackoverflow.com/users/{{ . }}" target="_blank"><i class="fa fa-stack-overflow fa-fw"></i>Stack Overflow</a> + </li> + {{ end }} + + </ul> +</div> diff --git a/_build/themes/ninenines/layouts/services/single.html b/_build/themes/ninenines/layouts/services/single.html new file mode 100644 index 00000000..e7df4440 --- /dev/null +++ b/_build/themes/ninenines/layouts/services/single.html @@ -0,0 +1,25 @@ +{{ partial "header.html" . }} +</header> + +<div id="contents" class="two_col"> +<div class="container"> +<div class="row"> +<div class="span9 maincol"> + +<h1 class="lined-header"><span>Services</span></h1> + +{{ .Content }} + +</div> +<div class="span3 sidecol"> +{{ range $.Site.Pages }} + {{ if eq .RelPermalink "/donate/" }} + {{ .Content}} + {{ end }} +{{ end }} +</div> +</div> +</div> +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/shortcodes/fluid_img.html b/_build/themes/ninenines/layouts/shortcodes/fluid_img.html new file mode 100644 index 00000000..6930dd95 --- /dev/null +++ b/_build/themes/ninenines/layouts/shortcodes/fluid_img.html @@ -0,0 +1,7 @@ +{{ if .IsNamedParams }} +<div class="{{ if .Get "class" }}{{ .Get "class" }}{{ else }}pure-u-1{{ end }}"> + <img class="pure-img" src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }}> +</div> +{{ else }} +<img class="pure-img" src="{{ index .Params 0 }}" alt=""> +{{ end }}
\ No newline at end of file diff --git a/_build/themes/ninenines/layouts/talks/single.html b/_build/themes/ninenines/layouts/talks/single.html new file mode 100644 index 00000000..28de43d1 --- /dev/null +++ b/_build/themes/ninenines/layouts/talks/single.html @@ -0,0 +1,44 @@ +{{ partial "header.html" . }} +</header> + +<div id="contents" class="two_col"> +<div class="container"> +<div class="row"> +<div class="span9 maincol"> + +<h1 class="lined-header"><span>Talks</span></h1> + +{{ if $.Site.Data.talks.future }} +<h2>Upcoming Talks</h2> +<div id="events" class="eventslist"> + {{ range $.Site.Data.talks.future }} + <article class="event"> + <p class="date"> + <span class="day">{{ .date.Format "02" }}</span> + <span class="month">{{ .date.Format "Jan" }}</span> + </p> + <h3>{{ .title }}</h3> + <p>Conference: <a href="{{ .link }}">{{ .name }}</a></p> + <p>{{ .location }}</p> + </article> + {{ end }} +</div> + +<h2>Previous Talks</h2> +{{ end }} + +<ul> + {{ range $.Site.Data.talks.past }} + <li><span class="item_title">{{ .name }}</span><a href="{{ .link }}">{{ .title }}</a></li> + {{ end }} +</ul> + +</div> +<div class="span3 sidecol"> +{{ .Content }} +</div> +</div> +</div> +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/taxonomy/tag.html b/_build/themes/ninenines/layouts/taxonomy/tag.html new file mode 100644 index 00000000..c7c2dc98 --- /dev/null +++ b/_build/themes/ninenines/layouts/taxonomy/tag.html @@ -0,0 +1,14 @@ +{{ partial "header.html" . }} +</header> + +<div class="header"> + <h1>{{ .Title }}</h1> +</div> + +<div class="content"> + {{ range .Data.Pages }} + {{ .Render "summary"}} + {{ end }} +</div> + +{{ partial "footer.html" . }} diff --git a/_build/themes/ninenines/layouts/taxonomy/topic.html b/_build/themes/ninenines/layouts/taxonomy/topic.html new file mode 100644 index 00000000..8b9401a5 --- /dev/null +++ b/_build/themes/ninenines/layouts/taxonomy/topic.html @@ -0,0 +1,14 @@ +{{ partial "header.html" . }}
+</header>
+
+<div class="header">
+ <h1>{{ .Title }}</h1>
+</div>
+
+<div class="content">
+ {{ range .Data.Pages }}
+ {{ .Render "summary"}}
+ {{ end }}
+</div>
+
+{{ partial "footer.html" . }}
|