This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja-JP"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="/assets/css/main.css"> | |
<link rel="alternate" href="/index.xml" type="application/rss+xml" title="{{ .Site.Title }}"> | |
<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} | {{ .Site.Title }}{{ end }}</title> | |
<script async src="/assets/js/auie.js"></script> | |
{{ $.Scratch.Set "OGPImg" .Site.Params.DefaultOGP }} | |
{{ $.Scratch.Set "desc" .Description }}{{ $.Scratch.Set "ogpType" "article" }} | |
{{ if eq .Title "Blogs" }}{{ $.Scratch.Set "desc" "サイト制作を中心としたツールや話題についてのブログです。" }}{{ $.Scratch.Set "ogpType" "blog" }}{{ end }} | |
{{ if eq .Title "Tools" }}{{ $.Scratch.Set "desc" "SketchプラグインやFireworksの拡張機能を配布しています。" }}{{ end }} | |
{{ if eq $isHomePage true }}{{ $.Scratch.Set "desc" .Site.Params.description }}{{ $.Scratch.Set "ogpType" "website" }}{{ end }} | |
{{ if and ( .IsPage ) ( isset .Params "ogp" ) }}{{ $.Scratch.Set "OGPImg" .Params.ogp }}{{ end }} | |
<meta property="fb:app_id" content="250299701647029" /> | |
<meta property="og:site_name" content="{{ .Site.Title }}" /> | |
<meta property="og:type" content="{{ $.Scratch.Get "ogpType" }}" /> | |
<meta property="og:title" content="{{ .Title }}" /> | |
<meta property="og:url" content="{{ .Permalink }}" /> | |
<meta property="og:description" content="{{ $.Scratch.Get "desc" }}" /> | |
<meta property="og:image" content="{{ .Site.Params.OGPImgPath }}{{ $.Scratch.Get "OGPImg" }}" /> | |
<meta name="twitter:card" content="summary"> | |
<meta name="twitter:site" content="@{{ .Site.Params.Author }}"> | |
<meta name="twitter:title" content="{{ .Title }}"> | |
<meta name="twitter:url" content="{{ .Permalink }}"> | |
<meta name="twitter:description" content="{{ $.Scratch.Get "desc" }}"> | |
<meta name="twitter:image" content="{{ .Site.Params.OGPImgPath }}{{ $.Scratch.Get "OGPImg" }}"> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ partial "head.html" . }} | |
<header class="siteHeader{{ if eq .Title "creative tweet." }} is-top{{ else }} {{ lower .Title }}{{ end }}" role="banner"> | |
{{ partial "header.html" . }} | |
</header> | |
<div id="contents" class="container"> | |
<main role="main"> | |
<section class="articleList"> | |
<h2 class="articleList_cat-key">blog</h2> | |
{{ range first 3 ( where .Data.Pages "Section" "blog" ) }} | |
<section class="articleList-item"> | |
<time class="publishedDatetime" datetime="{{ .Date.Format "2006-01-02T03:04:05+09:00" }}">{{ .Date.Format "2006/1/2" }}</time> | |
<h3 class="articleList-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h3> | |
</section> | |
{{ end }} | |
<p class="more"> | |
<a href="/blog.html">more blog →</a> | |
</p> | |
</section> | |
<section class="articleList"> | |
<h2 class="articleList_cat-key">tool</h2> | |
{{ range where .Data.Pages "Section" "tools" }} | |
<section class="articleList-item"> | |
<h3 class="articleList-title"> | |
<a href="{{ .Permalink }}"> | |
{{ .Params.alias }} | |
<span class="articleList-desc">{{ .Title }}</span> | |
</a> | |
</h3> | |
</section> | |
{{ end }} | |
<p class="more"> | |
<a href="/tools.html">more tool →</a> | |
</p> | |
</section> | |
<section class="articleList"> | |
<h2 class="articleList_cat-key">writing</h2> | |
<div class="articleList-item"> | |
<p class="articleList-title"> | |
<a href="/sketch-3-basics/">Sketch 3の基本。</a> | |
</p> | |
</div> | |
<div class="articleList-item"> | |
<p class="articleList-title"><a href="http://www.amazon.co.jp/gp/product/4844338161/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4844338161&linkCode=as2&tag=littlebuste04-22">Web制作者のためのIllustrator&ベクターデータの教科書 マルチデバイス時代に知っておくべき新・グラフィック作成術[インプレス/共著]<img src="http://ir-jp.amazon-adsystem.com/e/ir?t=littlebuste04-22&l=as2&o=9&a=4844338161" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;"></a></p> | |
</div> | |
<div class="articleList-item"> | |
<p class="articleList-title"><a href="http://www.amazon.co.jp/gp/product/4844364707/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4844364707&linkCode=as2&tag=littlebuste04-22">プロとして恥ずかしくない 新・WEBデザインの大原則[エム・ディー・エヌ/共著]<img src="http://ir-jp.amazon-adsystem.com/e/ir?t=littlebuste04-22&l=as2&o=9&a=4844364707" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;"></a></p> | |
</div> | |
<div class="articleList-item"> | |
<p class="articleList-title"><a href="http://www.amazon.co.jp/gp/product/4844363689/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=4844363689&linkCode=as2&tag=littlebuste04-22">現場でかならず使われている CSSデザインのメソッド[エム・ディー・エヌ/共著]<img src="http://ir-jp.amazon-adsystem.com/e/ir?t=littlebuste04-22&l=as2&o=9&a=4844363689" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;"></a></p> | |
</div> | |
</section> | |
<section class="articleList"> | |
<h2 class="articleList_cat-key">applications</h2> | |
<section class="articleList-item"> | |
<h3 class="articleList-title"> | |
<a href="http://creative-tweet.net">Kerning Tuner</a> | |
</h3> | |
</section> | |
</section> | |
</main> | |
</div> | |
{{ partial "footer.html" . }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ partial "head.html" . }} | |
<header class="siteHeader{{ if eq .Title "creative tweet." }} is-top{{ else }} is-{{ lower .Title }}{{ end }}" role="banner"> | |
{{ partial "header.html" . }} | |
</header> | |
<h1 class="cat_title icon-{{ .Title }}">{{ lower .Title }}</h1> | |
<div class="container"> | |
<main role="main" class="main"> | |
{{ range .Data.Pages.GroupByDate "2006" }} | |
<section class="articleGroup"> | |
<h2 class="articleList_cat-key">{{ .Key }}</h2> | |
<ul class="articleList"> | |
{{ range .Pages }} | |
{{ .Render "li"}} | |
{{ end }} | |
</ul> | |
</section> | |
{{ end }} | |
</main> | |
</div> | |
{{ partial "footer.html" }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ partial "head.html" . }} | |
<header class="siteHeader" role="banner"> | |
{{ partial "header.html" . }} | |
</header> | |
<div class="container"> | |
<main role="main"> | |
<header class="article-header"> | |
<section class="article-header-section"> | |
<time class="publishedDatetime" datetime="{{ .Date.Format "2006-01-02T03:04:05+09:00" }}">{{ .Date.Format "2006/1/2" }}</time> | |
<h1 class="article-title">{{ .Title }}</h1> | |
{{ if isset .Params "hero"}} | |
<img src="{{ index .Params "hero" }}" class="hero" alt=""> | |
{{ end }} | |
</section> | |
</header> | |
<div class="content-main"> | |
{{ .Content }} | |
</div> | |
{{ partial "socials.html" . }} | |
<ul class="pager"> | |
{{ if .NextInSection }} | |
<li> | |
<a href="{{ .NextInSection.Permalink }}" class="pager_nextItem"> | |
<span class="pager_label-newer">newer: </span> | |
{{ .NextInSection.LinkTitle }} | |
</a> | |
</li> | |
{{ end }}{{ if .PrevInSection }} | |
<li> | |
<a href="{{ .PrevInSection.Permalink }}" class="pager_prevItem"> | |
<span class="pager_label-older">older: </span> | |
{{ .PrevInSection.LinkTitle }} | |
</a> | |
</li> | |
{{ end }} | |
</ul> | |
</main> | |
</div> | |
{{ partial "footer.html" . }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment