diff options
author | coderzh <coderzh@gmail.com> | 2016-03-20 18:59:38 +0300 |
---|---|---|
committer | coderzh <coderzh@gmail.com> | 2016-03-20 19:07:29 +0300 |
commit | 664e45e3793e0a9c4a1a97e5b3f48223608d532e (patch) | |
tree | 182e67cdd59eb5ef61260ae294e4e17ba07764b0 /layouts |
init theme
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 0 | ||||
-rw-r--r-- | layouts/_default/list.html | 20 | ||||
-rw-r--r-- | layouts/_default/single.html | 13 | ||||
-rw-r--r-- | layouts/index.html | 21 | ||||
-rw-r--r-- | layouts/partials/after_footer.html | 159 | ||||
-rw-r--r-- | layouts/partials/article.html | 7 | ||||
-rw-r--r-- | layouts/partials/article_catetags.html | 19 | ||||
-rw-r--r-- | layouts/partials/article_content.html | 17 | ||||
-rw-r--r-- | layouts/partials/article_footer.html | 7 | ||||
-rw-r--r-- | layouts/partials/article_gallery.html | 0 | ||||
-rw-r--r-- | layouts/partials/article_header.html | 15 | ||||
-rw-r--r-- | layouts/partials/comment.html | 0 | ||||
-rw-r--r-- | layouts/partials/footer.html | 37 | ||||
-rw-r--r-- | layouts/partials/google_analytics.html | 0 | ||||
-rw-r--r-- | layouts/partials/head.html | 21 | ||||
-rw-r--r-- | layouts/partials/header.html | 27 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 11 | ||||
-rw-r--r-- | layouts/partials/widgets/archive.html | 14 | ||||
-rw-r--r-- | layouts/partials/widgets/categories.html | 12 | ||||
-rw-r--r-- | layouts/partials/widgets/rss.html | 5 | ||||
-rw-r--r-- | layouts/partials/widgets/tagcloud.html | 12 | ||||
-rw-r--r-- | layouts/partials/widgets/tags.html | 12 |
22 files changed, 429 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/404.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..dd2d4aa --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,20 @@ +{{ partial "head.html" . }} +<body> + <header> + {{ partial "header.html" . }} + </header> + <div id="container"> + <div id="main"> + {{ range .Data.Pages.GroupByDate "2006-01" }} + <h2 id="{{ .Key }}">{{ .Key }}</h2> + {{ range .Pages }} + {{ partial "article.html" . }} + {{ end }} + {{ end }} + </div> + {{ partial "sidebar.html" . }} + </div> + <footer>{{ partial "footer.html" . }}</footer> + {{ partial "after_footer.html" .}} +</body> +</html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..d6e2acc --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,13 @@ +{{ partial "head.html" . }} +<body> + <header> + {{ partial "header.html" . }} + </header> + <div id="container"> + {{ partial "article_content.html" . }} + {{ partial "sidebar.html" . }} + </div> + <footer>{{ partial "footer.html" . }}</footer> + {{ partial "after_footer.html" .}} +</body> +</html> diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..7c239f0 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,21 @@ +{{ partial "head.html" . }} +<body> + <header> + {{ partial "header.html" . }} + </header> + <div id="container"> + <div id="main"> + {{ range $index,$data := .Data.Pages }} + {{ if ge $data.Date.Year .Now.Year }} + {{ partial "article.html" $data }} + {{ end }}{{ end }} + <nav id="page-nav" class="clearfix"> + <a class="page-number" href="/post/">More...</a> + </nav> + </div> + {{ partial "sidebar.html" . }} + </div> + <footer>{{ partial "footer.html" . }}</footer> + {{ partial "after_footer.html" .}} +</body> +</html> diff --git a/layouts/partials/after_footer.html b/layouts/partials/after_footer.html new file mode 100644 index 0000000..56c292a --- /dev/null +++ b/layouts/partials/after_footer.html @@ -0,0 +1,159 @@ +<script src="{{ .Site.BaseURL }}js/jquery-2.1.0.min.js"></script> +<script type="text/javascript"> +$(document).ready(function(){ + $('.navbar').click(function(){ + $('header nav').toggleClass('shownav'); + }); + var myWidth = 0; + function getSize(){ + if( typeof( window.innerWidth ) == 'number' ) { + myWidth = window.innerWidth; + } else if( document.documentElement && document.documentElement.clientWidth) { + myWidth = document.documentElement.clientWidth; + }; + }; + var m = $('#main'), + a = $('#asidepart'), + c = $('.closeaside'), + o = $('.openaside'); + $(window).resize(function(){ + getSize(); + if (myWidth >= 1024) { + $('header nav').removeClass('shownav'); + }else + { + m.removeClass('moveMain'); + a.css('display', 'block').removeClass('fadeOut'); + o.css('display', 'none'); + } + }); + c.click(function(){ + a.addClass('fadeOut').css('display', 'none'); + o.css('display', 'block').addClass('fadeIn'); + m.addClass('moveMain'); + }); + o.click(function(){ + o.css('display', 'none').removeClass('beforeFadeIn'); + a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn'); + m.removeClass('moveMain'); + }); + $(window).scroll(function(){ + o.css("top",Math.max(80,260-$(this).scrollTop())); + }); +}); +</script> +{{ if eq .Section "post" }} +<script type="text/javascript"> +$(document).ready(function(){ + var ai = $('.article-content>iframe'), + ae = $('.article-content>embed'), + t = $('#toc'), + h = $('article h2') + ah = $('article h2'), + ta = $('#toc.toc-aside'), + o = $('.openaside'), + c = $('.closeaside'); + if(ai.length>0){ + ai.wrap('<div class="video-container" />'); + }; + if(ae.length>0){ + ae.wrap('<div class="video-container" />'); + }; + if(ah.length==0){ + t.css('display','none'); + }else{ + c.click(function(){ + ta.css('display', 'block').addClass('fadeIn'); + }); + o.click(function(){ + ta.css('display', 'none'); + }); + $(window).scroll(function(){ + ta.css("top",Math.max(140,320-$(this).scrollTop())); + }); + }; +}); +</script> +{{ end }} +<script type="text/javascript"> +$(document).ready(function(){ + var $this = $('.share'), + url = $this.attr('data-url'), + encodedUrl = encodeURIComponent(url), + title = $this.attr('data-title'), + tsina = $this.attr('data-tsina'); + var html = [ + '<a href="#" class="overlay" id="qrcode"></a>', + '<div class="qrcode clearfix"><span>扫描二维码分享到微信朋友圈</span><a class="qrclose" href="#share"></a><strong>Loading...Please wait</strong><img id="qrcode-pic" data-src="http://s.jiathis.com/qrcode.php?url=' + encodedUrl + '"/></div>', + '<a href="#textlogo" class="article-back-to-top" title="Top"></a>', + '<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="article-share-facebook" target="_blank" title="Facebook"></a>', + '<a href="#qrcode" class="article-share-qrcode" title="QRcode"></a>', + '<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="article-share-twitter" target="_blank" title="Twitter"></a>', + '<a href="http://service.weibo.com/share/share.php?title='+title+'&url='+encodedUrl +'&ralateUid='+ tsina +'&searchPic=true&style=number' +'" class="article-share-weibo" target="_blank" title="Weibo"></a>', + '<span title="Share to"></span>' + ].join(''); + $this.append(html); + $('.article-share-qrcode').click(function(){ + var imgSrc = $('#qrcode-pic').attr('data-src'); + $('#qrcode-pic').attr('src', imgSrc); + $('#qrcode-pic').load(function(){ + $('.qrcode strong').text(' '); + }); + }); +}); +</script> +{{ if .Site.Params.DuoShuo }} +<script type="text/javascript"> + var duoshuoQuery = {short_name:"{{ .Site.Params.DuoShuo }}"}; + (function() { + var ds = document.createElement('script'); + ds.type = 'text/javascript';ds.async = true; + ds.src = '//static.duoshuo.com/embed.js'; + ds.charset = 'UTF-8'; + (document.getElementsByTagName('head')[0] + || document.getElementsByTagName('body')[0]).appendChild(ds); + })(); +</script> +{{ end }} +{{ if or (eq .Section "tag") (eq .Section "category") }} +<script type="text/javascript"> +$(document).ready(function(){ + var list = $('.archive-title a'), + box = $('.all-list-box'), + first = $('.archive-title a:first-of-type'); + box.load(first.attr('data-src').toString()+' #archive-page'); + first.addClass('current'); + list.each(function(){ + $(this).click(function(){ + var listSrc=$(this).attr('data-src').toString()+' #archive-page'; + box.load(listSrc); + list.removeClass('current'); + $(this).addClass('current'); + }); + }); + }); +</script> +{{ end }} +{{ if and (eq .Section "post") (.Site.Params.FancyBox) }} +<link rel="stylesheet" href="{{ .Site.BaseURL }}fancybox/jquery.fancybox.css" media="screen" type="text/css"> +<script src="{{ .Site.BaseURL }}fancybox/jquery.fancybox.pack.js"></script> +<script type="text/javascript"> +$(document).ready(function(){ + $('.article-content').each(function(i){ + $(this).find('img').each(function(){ + if ($(this).parent().hasClass('fancybox')) return; + var alt = this.alt; + if (alt) $(this).after('<span class="caption">' + alt + '</span>'); + $(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox"></a>'); + }); + $(this).find('.fancybox').each(function(){ + $(this).attr('rel', 'article' + i); + }); + }); + if($.fancybox){ + $('.fancybox').fancybox(); + } +}); +</script> +{{ end }} +{{ partial "google_analytics.html" . }} diff --git a/layouts/partials/article.html b/layouts/partials/article.html new file mode 100644 index 0000000..fe0e71f --- /dev/null +++ b/layouts/partials/article.html @@ -0,0 +1,7 @@ +<section class="post" itemscope itemprop="blogPost"> + <a href="{{ .Permalink }}" title="{{ .Title }}" itemprop="url"> + <h1 itemprop="name">{{ .Title }}</h1> + <p itemprop="description">{{ .Summary }}</p> + <time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format .Site.Params.DateFormat }}</time> + </a> +</section> diff --git a/layouts/partials/article_catetags.html b/layouts/partials/article_catetags.html new file mode 100644 index 0000000..6132354 --- /dev/null +++ b/layouts/partials/article_catetags.html @@ -0,0 +1,19 @@ +{{ if isset .Params "tags" }} +{{ if not (eq (len .Params.tags) 0) }} +<div class="article-tags"> + <span></span> + {{ range .Params.tags }} + <a href="/tags/{{ . | urlize }}">{{ . }}</a> + {{ end }} +</div> +{{ end }} + +{{ if not (eq (len .Params.categories) 0) }} +<div class="article-categories"> + <span></span> + {{ range .Params.tags }} + <a class="article-category-link" href="/categories/{{ . | urlize }}">{{ . }}</a> + {{ end }} +</div> +{{ end }} +{{ end }} diff --git a/layouts/partials/article_content.html b/layouts/partials/article_content.html new file mode 100644 index 0000000..e856304 --- /dev/null +++ b/layouts/partials/article_content.html @@ -0,0 +1,17 @@ +<div id="main" class="post" itemscope itemprop="blogPost"> + <article itemprop="articleBody"> + {{ partial "article_header.html" . }} + <div class="article-content"> + {{ partial "article_gallery.html" . }} + {{ if isset .Params "toc"}} + <div class="toc-article"> + <strong class="toc-title">{{ .Site.Params.Strings.TableOfContents }}</strong> + {{ .TableOfContents }} + </div> + {{ end }} + {{ .Content }} + </div> + {{ partial "article_footer.html" . }} + </article> + {{ partial "comment.html" . }} +</div> diff --git a/layouts/partials/article_footer.html b/layouts/partials/article_footer.html new file mode 100644 index 0000000..0159af3 --- /dev/null +++ b/layouts/partials/article_footer.html @@ -0,0 +1,7 @@ +<footer class="article-footer clearfix"> + {{ partial "article_catetags.html" . }} + <div class="article-share" id="share"> + <div data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-tsina="{{ .Site.Params.WeiboID }}" class="share clearfix"> + </div> + </div> +</footer> diff --git a/layouts/partials/article_gallery.html b/layouts/partials/article_gallery.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/partials/article_gallery.html diff --git a/layouts/partials/article_header.html b/layouts/partials/article_header.html new file mode 100644 index 0000000..01e8124 --- /dev/null +++ b/layouts/partials/article_header.html @@ -0,0 +1,15 @@ +<header class="article-info clearfix"> + <h1 itemprop="name"> + <a href="{{ .Permalink }}" title="{{ .Title }}" itemprop="url">{{ .Title }}</a> + </h1> + <p class="article-author">By + {{ if and (isset .Params "Author") (isset .Params "AuthorHomepage") }} + <a href="{{ .Params.AuthorHomepage }}" title="{{ .Params.Author }}">{{ .Params.Author }}</a> + {{ else }} + <a href="{{ .Site.Params.AuthorHomepage }}" title="{{ .Site.Params.Author }}">{{ .Site.Params.Author }}</a> + {{ end }} + </p> + <p class="article-time"> + <time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format .Site.Params.DateFormat }}</time> + </p> +</header> diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/partials/comment.html diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..693f348 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,37 @@ +<div id="footer" > + {{ if .Site.Params.AuthorImg }} + <div class="line"> + <span></span> + <div style='background:no-repeat url("{{ .Site.BaseURL }}{{ .Site.Params.AuthorImg }}") left top;-webkit-background-size:6.875em 6.875em;-moz-background-size:6.875em 6.875em;background-size:6.875em 6.875em;' class="author" ></div> + </div> + {{ end }} + {{ with .Site.Params.BottomIntroduce }} + <section class="info"> + <p>{{ . | safeHTML }}</p> + </section> + {{ end }} + <div class="social-font clearfix"> + {{ with .Site.Params.Weibo }} + <a href="http://weibo.com/{{ . }}" target="_blank" title="weibo"></a> + {{ end }} + {{ with .Site.Params.Twitter }} + <a href="https://twitter.com/{{ . }}" target="_blank" title="twitter"></a> + {{ end }} + {{ with .Site.Params.GitHub }} + <a href="https://github.com/{{ . }}" target="_blank" title="github"></a> + {{ end }} + {{ with .Site.Params.Facebook }} + <a href="https://www.facebook.com/{{ . }}" target="_blank" title="facebook"></a> + {{ end }} + {{ with .Site.Params.LinkIn }} + <a href="https://www.linkedin.com/{{ . }}" target="_blank" title="linkedin"></a> + {{ end }} + </div> + <p class="copyright">Powered by <a href="http://gohugo.io" target="_blank" title="hugo">hugo</a> and Theme by <a href="https://github.com/coderzh/hugo-pacman-theme" target="_blank" title="hugo-pacman-theme">hugo-pacman-theme</a> © {{ .Now.Year }} + {{ if .Site.Params.Author }} + <a href="{{ .Site.BaseURL }}" target="_blank" title="{{ .Site.Params.Author }}">{{ .Site.Params.Author }}</a> + {{ else }} + <a href="{{ .Site.BaseURL }}" title="{{ .Site.Title }}">{{ .Site.Title }}</a> + {{ end }} + </p> +</div> diff --git a/layouts/partials/google_analytics.html b/layouts/partials/google_analytics.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/partials/google_analytics.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..c347c81 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,21 @@ +<!DOCTYPE HTML> +<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}zh-CN{{ end }}"> +<head> + <meta charset="UTF-8"> + <title>{{ if ne .URL "/" }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1"> + {{ with .Site.Params.Author }}<meta name="author" content="{{ . }}">{{ end }} + {{ with .Description }}<meta name="description" content="{{ . }}">{{ else }} + <meta name="description" content="{{ .Site.Params.Description }}">{{ end }} + {{ with .Keywords }}<meta name="keywords" content="{{ . }}">{{ end }} + {{ if .Site.Params.Twitter }}<meta name="twitter:card" content="summary" /> + <meta name="twitter:site" content="@{{ .Site.Params.Twitter }}" /> + <meta name="twitter:title" content="{{ if ne .URL "/" }}{{ .Title }} - {{ end }}{{ .Site.Title }}" />{{ end }} + {{ with .Description }}<meta name="twitter:description" content="{{ . }}" />{{ else }} + <meta name="twitter:description" content="{{ .Site.Params.Description }}">{{ end }} + {{ if .RSSlink }}<link rel="alternate" href="{{ .Site.BaseURL }}feed.xml" title="{{ .Site.Title }}" type="application/rss+xml"/>{{ end }} + <link rel="shortcut icon" href="{{ .Site.BaseURL }}favicon.ico"/> + <link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.png" /> + <link rel="apple-touch-icon-precomposed" href="{{ .Site.BaseURL }}apple-touch-icon.png" /> + <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css"> +</head> diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..6d23bb3 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,27 @@ +<div> + {{ if .Site.Params.Imglogo }} + <div id="imglogo"> + <a href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}{{ .Site.Params.Imglogo }}" alt="{{ .Site.Title }}" title="{{ .Site.Title }}"/></a> + </div> + {{ end }} + <div id="textlogo"> + <h1 class="site-name"><a href="{{ .Site.BaseURL }}" title="{{ .Site.Title }}">{{ .Site.Title }}</a></h1> + <h2 class="blog-motto">{{ with .Site.Params.Subtitle }}{{ . }}{{ end }}</h2> + </div> + <div class="navbar"><a class="navbutton navmobile" href="#" title="menu"></a></div> + <nav class="animated"> + <ul> + {{ range .Site.Menus.Main }} + <li><a href="{{ .URL }}">{{ .Name }}</a></li> + {{ end }} + <li> + <form class="search" action="https://www.google.com/search" method="get" accept-charset="utf-8"> + <label>Search</label> + <input type=hidden name="domains" value="{{ .Site.BaseURL }}"> + <input type=hidden name="sitesearch" value="{{ .Site.BaseURL }}"> + <input type="text" id="search" name="q" autocomplete="off" maxlength="20" placeholder="Search" /> + </form> + </li> + </ul> + </nav> +</div> diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html new file mode 100644 index 0000000..7a1333f --- /dev/null +++ b/layouts/partials/sidebar.html @@ -0,0 +1,11 @@ +<div class="openaside"><a class="navbutton" href="#" title="{{ .Site.Params.Strings.ShowSideBar }}"></a></div> +<div id="asidepart"> +<div class="closeaside"><a class="closebutton" href="#" title="{{ .Site.Params.Strings.HideSideBar }}"></a></div> +<aside class="clearfix"> + {{ partial "widgets/categories" . }} + {{ partial "widgets/tags" . }} + {{ partial "widgets/archive" . }} + {{ partial "widgets/tagcloud" . }} + {{ partial "widgets/rss" . }} +</aside> +</div> diff --git a/layouts/partials/widgets/archive.html b/layouts/partials/widgets/archive.html new file mode 100644 index 0000000..9202788 --- /dev/null +++ b/layouts/partials/widgets/archive.html @@ -0,0 +1,14 @@ +{{ if not (eq (len .Site.Pages) 0) }} + <div class="archiveslist"> + <p class="asidetitle">{{ .Site.Params.Strings.Archive }}</p> + <ul class="archive-list"> + {{ range $value := .Site.Pages.GroupByDate .Site.Params.MonthFormat }} + {{ $url := (index $value.Pages 0).Node.Date.Format "2006-01" | urlize }} + <li class="archive-list-item"> + <a class="archive-list-link" href="/post/#{{ $url }}">{{ .Key }}</a><span class="archive-list-count">{{ len $value.Pages }}</span> + </li> + {{ end }} + </ul> + + </div> +{{ end }} diff --git a/layouts/partials/widgets/categories.html b/layouts/partials/widgets/categories.html new file mode 100644 index 0000000..886aaa3 --- /dev/null +++ b/layouts/partials/widgets/categories.html @@ -0,0 +1,12 @@ +{{ if isset .Site.Taxonomies "categories" }} +{{ if not (eq (len .Site.Taxonomies.categories) 0) }} +<div class="categorieslist"> + <p class="asidetitle">{{ .Site.Params.Strings.Categories }}</p> + <ul> + {{ range $name, $items := .Site.Taxonomies.categories }} + <li><a href="{{ $.Site.BaseURL }}categories/{{ $name | urlize | lower }}" title="{{ $name }}">{{ $name }}<sup>{{ len $items }}</sup></a></li> + {{ end }} + </ul> +</div> +{{ end }} +{{ end }} diff --git a/layouts/partials/widgets/rss.html b/layouts/partials/widgets/rss.html new file mode 100644 index 0000000..6a8b913 --- /dev/null +++ b/layouts/partials/widgets/rss.html @@ -0,0 +1,5 @@ +{{ if .RSSlink }} +<div class="rsspart"> + <a rel="nofollow" href="{{ .Site.BaseURL }}feed.xml" type="application/rss+xml" target="_blank">{{ .Site.Params.Strings.Rss }}</a> +</div> +{{ end }} diff --git a/layouts/partials/widgets/tagcloud.html b/layouts/partials/widgets/tagcloud.html new file mode 100644 index 0000000..7bb507c --- /dev/null +++ b/layouts/partials/widgets/tagcloud.html @@ -0,0 +1,12 @@ +{{ if isset .Site.Taxonomies "tags" }} +{{ if not (eq (len .Site.Taxonomies.tags) 0) }} +<div class="tagcloudlist"> + <p class="asidetitle">{{ .Site.Params.Strings.TagCloud }}</p> + <div class="tagcloudlist clearfix"> + {{ range $name, $items := .Site.Taxonomies.tags }} + <a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" style="font-size: 12px;">{{ $name }}</a> + {{ end }} + </div> +</div> +{{ end }} +{{ end }} diff --git a/layouts/partials/widgets/tags.html b/layouts/partials/widgets/tags.html new file mode 100644 index 0000000..2346355 --- /dev/null +++ b/layouts/partials/widgets/tags.html @@ -0,0 +1,12 @@ +{{ if isset .Site.Taxonomies "tags" }} +{{ if not (eq (len .Site.Taxonomies.tags) 0) }} +<div class="tagslist"> + <p class="asidetitle">{{ .Site.Params.Strings.Tags }}</p> + <ul class="clearfix"> + {{ range $name, $items := .Site.Taxonomies.tags }} + <li><a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" title="{{ $name }}">{{ $name }}<sup>{{ len $items }}</sup></a></li> + {{ end }} + </ul> +</div> +{{ end }} +{{ end }} |