beautified files

This commit is contained in:
Paul 2020-01-12 21:05:46 +01:00
parent 60a5964fff
commit 264e924da2
31 changed files with 419 additions and 402 deletions

View File

@ -2,30 +2,31 @@
{{ partial "header" . }}
<div id="container">
<div class="outer">
<div class="outer">
{{ partial "profile" . }}
<section id="main">
<article class="article article-type-post" itemscope="" itemprop="blogPost">
<div class="article-inner">
<div class="article-entry" itemprop="articleBody">
<p>
<center>
<h1>
{{with .Site.Data.l10n.page_not_found.title}}{{.}}{{end}}
</h1>
<h3>
{{with .Site.Data.l10n.page_not_found.subtitle}}{{.}}{{end}}
</h3>
</center>
</p>
</div>
</div>
</article>
<article class="article article-type-post" itemscope="" itemprop="blogPost">
<div class="article-inner">
<div class="article-entry" itemprop="articleBody">
<p>
<center>
<h1>
{{with .Site.Data.l10n.page_not_found.title}}{{.}}{{end}}
</h1>
<h3>
{{with .Site.Data.l10n.page_not_found.subtitle}}{{.}}{{end}}
</h3>
</center>
</p>
</div>
</div>
</article>
</section>
{{ partial "sidebar" . }}
</div>
</div>
</div>
{{ partial "footer" . }}
</body>
</html>
</html>

View File

@ -1,17 +1,22 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
{{ partial "head" . }}
<div id="container">
{{ partial "header" . }}
<body>
<div class="container">
<div id="container">
{{ partial "header" . }}
<!--{{ partial "home" . }}-->
<div class="outer">
<!--{{ partial "home" . }}-->
<div class="outer">
{{ partial "article_list" . }}
{{ partial "sidebar" . }}
{{ partial "article_list" . }}
{{ partial "sidebar" . }}
</div>
</div>
</div>
{{ partial "footer" . }}
</div>
{{ partial "footer" . }}
</body>
</html>
</html>

View File

@ -1,13 +1,13 @@
<div class="article-inner-first">
<h2>
A simple, lightweight theme
</h2>
<p>
You've reached the website for <b>Arch Linux</b> user, I was in mobile-enabled.
</p>
<h2>
A simple, lightweight theme
</h2>
<p>
You've reached the website for <b>Arch Linux</b> user, I was in mobile-enabled.
</p>
</div>
<!--
<div class="rss-right"><a href="{{ .RelPermalink }}"><i class="fa fa-rss-square fa-lg"></i></a></div>
-->
-->

View File

@ -1,23 +1,23 @@
<div class="tweet-footer">
<a href="http://twitter.com/share?url={{ .Permalink }}&text={{ .Title }}" target="_blank" title="Twitter" >
<span class="tweet-botton">
<i class="fa fa-twitter" aria-hidden="true"></i>
Compose new Tweet
<a href="http://twitter.com/share?url={{ .Permalink }}&text={{ .Title }}" target="_blank" title="Twitter">
<span class="tweet-botton">
<i class="fa fa-twitter" aria-hidden="true"></i>
Compose new Tweet
</span>
</a>
</a>
</div>
<footer class="article-footer">
<!--
<!--
<a data-url="{{ .Permalink }}" data-id="{{ .File.UniqueID }}" class="article-share-link">
{{with .Site.Data.l10n.articles.share}}{{.}}{{end}}
</a>
-->
{{ if not (eq .Site.DisqusShortname "") }}
{{ if not (eq .Site.DisqusShortname "") }}
<a href="{{ .Permalink }}/#disqus_thread" class="article-comment-link">
{{with .Site.Data.l10n.articles.comments}}{{.}}{{end}}
</a>
{{end}}
</footer>
<a href="{{ .Permalink }}/#disqus_thread" class="article-comment-link">
{{with .Site.Data.l10n.articles.comments}}{{.}}{{end}}
</a>
{{end}}
</footer>

View File

@ -1,12 +1,8 @@
<header class="article-header">
<h1 class="article-title" itemprop="name">
<a href="{{ .Permalink }}" class="permalink">{{ .Title }}</a>
</h1>
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time>
<div class="article-meta">
</div>
</header>
<h1 class="article-title" itemprop="name">
<a href="{{ .Permalink }}" class="permalink">{{ .Title }}</a>
</h1>
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time>
<div class="article-meta">
</div>
</header>

View File

@ -1,43 +1,41 @@
<section id="main">
{{ $pages := .Pages }}
{{ if .IsHome }}
{{ $pages = .Site.RegularPages }}
{{ end }}
{{ $paginator := .Paginate $pages }}
<!--
{{ $pages := .Pages }}
{{ if .IsHome }}
{{ $pages = .Site.RegularPages }}
{{ end }}
{{ $paginator := .Paginate $pages }}
<!--
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
-->
{{ range $paginator.Pages }}
<article class="article article-type-post" itemscope="" itemprop="blogPost">
{{ range $paginator.Pages }}
<article class="article article-type-post" itemscope="" itemprop="blogPost">
<div class="article-inner">
<div class="article-inner">
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<a href="{{ .Permalink }}" itemprop="url">
<img src="{{ .Site.BaseURL }}{{ .Params.banner }}" class="article-banner"> {{ end }}
</a>
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<a href="{{ .Permalink }}" itemprop="url">
<img src="{{ .Site.BaseURL }}{{ .Params.banner }}" class="article-banner"> {{ end }}
</a>
{{ partial "article_header" . }}
<div class="article-entry" itemprop="articleBody">
<p>
{{ .Summary }} ...
</p>
<p class="article-more-link">
<a href="{{ .Permalink }}">
Read more
<!--
{{with .Site.Data.l10n.articles.read_more}}{{.}}{{end}}
{{ partial "article_header" . }}
<div class="article-entry" itemprop="articleBody">
<p>
{{ .Summary }} ...
</p>
<p class="article-more-link">
<a href="{{ .Permalink }}">
Read more
<!--
{{ with .Site.Data.l10n.articles.read_more }}{{ . }}{{ end }}
-->
</a>
</p>
</div>
<!--
</a>
</p>
</div>
<!--
{{ partial "article_footer" . }}
-->
</div>
</article>
{{ end }}
{{ partial "pagination" . }}
</section>
<!-- // main section -->
</div>
</article>
{{ end }}
{{ partial "pagination" . }}
</section>

View File

@ -1,11 +1,12 @@
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
<footer id="footer-left">
&copy; {{now.Format "2006"}} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br>
{{ with .Site.Params.copyright }}{{ . | markdownify}}{{ end }}
</footer>
<footer id="footer-right"> <a href="">Reference</a> <a href="">Keybind</a> <a href="">Command</a> <a href="">API</a> </footer>
<footer id="footer-left">
&copy; {{now.Format "2006"}} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br>
{{ with .Site.Params.copyright }}{{ . | markdownify}}{{ end }}
</footer>
<footer id="footer-right"> <a href="">Reference</a> <a href="">Keybind</a> <a href="">Command</a> <a
href="">API</a> </footer>
</div>
</div>
</footer>
</footer>

View File

@ -3,11 +3,13 @@
<script src="{{ .Site.BaseURL }}fancybox/jquery.fancybox.pack.js"></script>
<script src="{{ .Site.BaseURL }}js/script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script>
hljs.initHighlightingOnLoad();
</script>
{{ "<!-- MathJax -->" | safeHTML }}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']]}
});
@ -16,4 +18,5 @@ MathJax.Hub.Config({
<!--
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-->
<script type="text/javascript" src="https://raw.githubusercontent.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js"></script>
<script type="text/javascript" src="https://raw.githubusercontent.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js">
</script>

View File

@ -1,5 +1,3 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
<title>{{ .Title }}</title>
<meta charset="utf-8">
@ -40,5 +38,3 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/mobile.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/cal-heatmap/cal-heatmap.css" />
</head>
<body>
<div class="container">

View File

@ -1,27 +1,23 @@
<header id="header">
<div id="header-main" class="header-inner">
<div class="outer">
<nav class="navbar navbar-default">
<div class="container-fluid">
<nav class="navbar navbar-default">
<div class="container-fluid">
{{ partial "title" . }}
{{ partial "title" . }}
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
{{ partial "navbar-menu" . }}
{{ partial "navbar-icon" . }}
<!--
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
{{ partial "navbar-menu" . }}
{{ partial "navbar-icon" . }}
<!--
{{ partial "navbar-search" . }}
-->
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</header>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</header>

View File

@ -1,5 +1,5 @@
<div id="top-image">
<div id="top-image-wrap">
<iframe src="{{ .Site.BaseURL }}bower_components/particlesjs/particlesjs.html"></iframe>
</div>
<div id="top-image-wrap">
<iframe src="{{ .Site.BaseURL }}bower_components/particlesjs/particlesjs.html"></iframe>
</div>
</div>

View File

@ -1,20 +1,20 @@
<li>
<a href="https://git.paulbsd.com/">
<i class="fa fa-git" aria-hidden="true"></i>
</a>
<a href="https://git.paulbsd.com/">
<i class="fa fa-git" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://cloud.paulbsd.com/">
<i class="fa fa-cloud" aria-hidden="true"></i>
</a>
<a href="https://cloud.paulbsd.com/">
<i class="fa fa-cloud" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://facebook.com/paul.lecuq">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
<a href="https://facebook.com/paul.lecuq">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://twitter.com/paulbsd">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a>
<a href="https://twitter.com/paulbsd">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a>
</li>

View File

@ -1,13 +1,13 @@
<li><a href="#">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">PaulBSD Applications<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a target="_blank" rel="noopener noreferrer" href="https://mail.paulbsd.com">PMail</a></li>
<li role="separator" class="divider"></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://grafana.paulbsd.com">PGraphs</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://docs.paulbsd.com">PWS Docs</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://qrz.paulbsd.com">PWS QRZ</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://netbox.paulbsd.com">PIPAM</a></li>
</ul>
</li>
<li><a href="#">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
aria-expanded="false">PaulBSD Applications<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a target="_blank" rel="noopener noreferrer" href="https://mail.paulbsd.com">PMail</a></li>
<li role="separator" class="divider"></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://grafana.paulbsd.com">PGraphs</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://docs.paulbsd.com">PWS Docs</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://qrz.paulbsd.com">PWS QRZ</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://netbox.paulbsd.com">PIPAM</a></li>
</ul>
</li>

View File

@ -4,4 +4,4 @@
<input type="text" class="form-control" placeholder="" name="q">
</div>
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</form>
</form>

View File

@ -1,14 +1,14 @@
<nav id="page-nav">
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
{{ if .Paginator.HasPrev }}
<a class="extend prev" rel="prev" href="{{.Paginator.Prev.URL}}">
« {{with .Site.Data.l10n.pagination.previous}}{{.}}{{end}}
</a>
{{ end }}
{{ if .Paginator.HasNext }}
<a class="extend next" rel="next" href="{{.Paginator.Next.URL}}">
{{with .Site.Data.l10n.pagination.next}}{{.}}{{end}} »
</a>
{{ end }}
{{ end }}
</nav>
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
{{ if .Paginator.HasPrev }}
<a class="extend prev" rel="prev" href="{{.Paginator.Prev.URL}}">
« {{with .Site.Data.l10n.pagination.previous}}{{.}}{{end}}
</a>
{{ end }}
{{ if .Paginator.HasNext }}
<a class="extend next" rel="next" href="{{.Paginator.Next.URL}}">
{{with .Site.Data.l10n.pagination.next}}{{.}}{{end}} »
</a>
{{ end }}
{{ end }}
</nav>

View File

@ -6,9 +6,9 @@
{{ with .Site.Params.bio }}<h3 id="title">{{ . }}</h3>{{ end }}
{{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }}
{{ with .Site.Params.profile.follow_button }}
<a id="follow" href="{{ . }}">
{{with $.Site.Data.l10n.profile.follow_button}}{{.}}{{end}}
</a>
<a id="follow" href="{{ . }}">
{{with $.Site.Data.l10n.profile.follow_button}}{{.}}{{end}}
</a>
{{ end }}
</div>
<div class="article-info profile-block">
@ -20,7 +20,7 @@
<div class="article-info-block">
{{ len .Site.Taxonomies.tags }}
<span>
{{with .Site.Data.l10n.profile.tags}}{{.}}{{end}}
{{with .Site.Data.l10n.profile.tags}}{{.}}{{end}}
</span>
</div>
</div>
@ -33,4 +33,4 @@
</table>
</div>
</div>
</aside>
</aside>

View File

@ -1,6 +1,6 @@
<aside id="sidebar">
{{ partial "widgets/search" . }}
{{ partial "widgets/recent_articles" . }}
{{ partial "widgets/categories" . }}
{{ partial "widgets/tag_cloud" . }}
</aside>
{{ partial "widgets/search" . }}
{{ partial "widgets/recent_articles" . }}
{{ partial "widgets/categories" . }}
{{ partial "widgets/tag_cloud" . }}
</aside>

View File

@ -1,27 +1,29 @@
<section id="main">
<article>
<div class="article-inner">
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<img src="{{ .Site.BaseURL }}{{ .Params.banner }}" class="article-banner">
{{ end }}
<article>
<div class="article-inner">
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<img src="{{ .Site.BaseURL }}{{ .Params.banner }}" class="article-banner">
{{ end }}
{{ partial "article_header" . }}
<div class="article-entry" itemprop="articleBody">
{{ .Content }}
</div>
{{ partial "article_header" . }}
<div class="article-entry" itemprop="articleBody">
{{ .Content }}
</div>
{{ partial "article_footer" . }}
</div>
<script type="text/javascript">
talaria.init({REPOSITORY_NAME: 'syui.gitlab.io-comment',
GITHUB_USERNAME: 'mba-hack'});
</script>
</article>
{{ partial "article_footer" . }}
</div>
<script type="text/javascript">
talaria.init({
REPOSITORY_NAME: 'syui.gitlab.io-comment',
GITHUB_USERNAME: 'mba-hack'
});
</script>
</article>
<section id="comments">
<section id="comments">
<div id="disqus_thread">
{{ template "_internal/disqus.html" . }}
</div>
</section>
</section>
<div id="disqus_thread">
{{ template "_internal/disqus.html" . }}
</div>
</section>
</section>

View File

@ -75,7 +75,8 @@
{{ end }}
{{ with .Site.Social.stackoverflow }}
<td><a href="//stackoverflow.com/users/{{.}}" target="_blank" title="Stackoverflow"><i class="fa fa-stackoverflow"></i></a></td>
<td><a href="//stackoverflow.com/users/{{.}}" target="_blank" title="Stackoverflow"><i
class="fa fa-stackoverflow"></i></a></td>
{{ end }}
{{ with .Site.Social.reddit }}
@ -96,4 +97,4 @@
{{ with .Site.Social.twitter }}
<td><a href="//twitter.com/{{.}}" target="_blank" title="Twitter"><i class="fa fa-twitter"></i></a></td>
{{ end }}
{{ end }}

View File

@ -1,13 +1,14 @@
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<h1>
<a class="navbar-brand" href="{{ .Site.BaseURL }}">
<span id="title">PaulBSD</span>
</a>
</h1>
</div>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<h1>
<a class="navbar-brand" href="{{ .Site.BaseURL }}">
<span id="title">PaulBSD</span>
</a>
</h1>
</div>

View File

@ -1,19 +1,19 @@
{{ if .Site.Params.widgets.categories }}
{{ if not (eq (len .Site.Taxonomies.categories) 0) }}
<div class="widget-wrap">
<div class="widget">
<ul class="category-list">
<h3 class="widget-title">Categories {{with .Site.Data.l10n.widgets.categories.title}}{{.}}{{end}}</h3>
{{ range $name, $items := .Site.Taxonomies.categories }}
<a class="category-list-link" href="{{ $.Site.BaseURL }}categories/{{ $name | urlize | lower }}">
<li class="category-list-item">
{{ $name }}
<span class="category-list-count">{{ len $items }}</span>
</li>
</a>
{{ end }}
</ul>
</div>
<div class="widget">
<ul class="category-list">
<h3 class="widget-title">Categories {{with .Site.Data.l10n.widgets.categories.title}}{{.}}{{end}}</h3>
{{ range $name, $items := .Site.Taxonomies.categories }}
<a class="category-list-link" href="{{ $.Site.BaseURL }}categories/{{ $name | urlize | lower }}">
<li class="category-list-item">
{{ $name }}
<span class="category-list-count">{{ len $items }}</span>
</li>
</a>
{{ end }}
</ul>
</div>
</div>
{{ end }}
{{ end }}
{{ end }}

View File

@ -1,7 +1,7 @@
<div class="widget-wrap">
<div class="widget">
<h3 class="widget-title">Template</h3>
{{ $resp := getJSON "https://api.github.com/repos/syui/hugo-theme-arch/readme" }}
{{ $resp.content | base64Decode | markdownify }}
</div>
</div>
<div class="widget">
<h3 class="widget-title">Template</h3>
{{ $resp := getJSON "https://api.github.com/repos/syui/hugo-theme-arch/readme" }}
{{ $resp.content | base64Decode | markdownify }}
</div>
</div>

View File

@ -1,18 +1,19 @@
<div class="widget-wrap">
<div class="widget">
<h3 class="widget-title">
Docs
<!--{{with .Site.Data.l10n.widgets.documentation.title}}{{.}}{{end}} -->
</h3><ul class="category-list">
<li class="category-list-item">
<a href="#">Wiki</a>
</li>
<li class="category-list-item">
<a href="#">Installation Guide</a>
</li>
<li class="category-list-item">
<a href="#">Beginners' Guide</a>
</li>
<div class="widget">
<h3 class="widget-title">
Docs
<!--{{with .Site.Data.l10n.widgets.documentation.title}}{{.}}{{end}} -->
</h3>
<ul class="category-list">
<li class="category-list-item">
<a href="#">Wiki</a>
</li>
<li class="category-list-item">
<a href="#">Installation Guide</a>
</li>
<li class="category-list-item">
<a href="#">Beginners' Guide</a>
</li>
</ul>
</div>
</div>
</div>
</div>

View File

@ -1,22 +1,23 @@
<div class="widget-wrap">
<div class="widget-download">
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-question-circle"></i> Help <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Keybind</a></li>
<li><a href="#">Command</a></li>
<li><a href="#">Reference</a></li>
<li role="separator" class="divider"></li>
<li><a href="https://gitlab.com/syui">GitLab</a></li>
</ul>
</div>
<div class="btn-group">
<a href="https://gitlab.com/syui">
<button type="button" class="btn btn-default" aria-haspopup="true" aria-expanded="false"><i class="fa fa-gitlab" aria-hidden="true"></i> GitLab</button>
</a>
</div>
</div>
</div>
<div class="widget-download">
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
<i class="fa fa-question-circle"></i> Help <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Keybind</a></li>
<li><a href="#">Command</a></li>
<li><a href="#">Reference</a></li>
<li role="separator" class="divider"></li>
<li><a href="https://gitlab.com/syui">GitLab</a></li>
</ul>
</div>
<div class="btn-group">
<a href="https://gitlab.com/syui">
<button type="button" class="btn btn-default" aria-haspopup="true" aria-expanded="false"><i class="fa fa-gitlab"
aria-hidden="true"></i> GitLab</button>
</a>
</div>
</div>
</div>

View File

@ -1,17 +1,18 @@
{{ if .Site.Params.widgets.recent_articles }}
<div class="widget-wrap">
<div class="widget">
<ul id="recent-post">
<li id="first-recent"><a href="/index.xml" id="firstmove" class="move"><h3 class="widget-title">
Posts
</h3></a></li>
{{ range first 10 (where .Site.RegularPages "Type" "post") }}
<div class="widget">
<ul id="recent-post">
<li id="first-recent"><a href="/index.xml" id="firstmove" class="move">
<h3 class="widget-title">
Posts
</h3>
</a></li>
{{ range first 10 (where .Site.RegularPages "Type" "post") }}
<li><a href="{{ .Permalink }}" class="move"> {{ .Title }}</a> </li>
{{ end }}
</ul>
</div>
<li><a href="{{ .Permalink }}" class="move"> {{ .Title }}</a> </li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
{{ end }}

View File

@ -1,7 +1,7 @@
<div class="widget-wrap">
<input id="search" type="text" placeholder="search">
<ul id="results">
</ul>
<script type="text/javascript" src="{{ .Site.BaseURL }}js/search.js"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}bower_components/lunr.js/lunr.min.js"></script>
</div>
<input id="search" type="text" placeholder="search">
<ul id="results">
</ul>
<script type="text/javascript" src="{{ .Site.BaseURL }}js/search.js"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}bower_components/lunr.js/lunr.min.js"></script>
</div>

View File

@ -1,16 +1,16 @@
{{ if .Site.Params.widgets.tag_cloud }}
{{ if not (eq (len .Site.Taxonomies.tags) 0) }}
<div class="widget-wrap">
<ul class="category-list">
<ul class="category-list">
<h3 class="widget-title">Tags {{with .Site.Data.l10n.widgets.tag_cloud.title}}{{.}}{{end}} </h3>
<div class="widget tagcloud">
{{ range $name, $items := .Site.Taxonomies.tags }}
<a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" style="font-size: 12px;">{{ $name }}</a>
{{ end }}
{{ range $name, $items := .Site.Taxonomies.tags }}
<a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" style="font-size: 12px;">{{ $name }}</a>
{{ end }}
</div>
</ul>
</ul>
</div>
{{ end }}
{{ end }}
{{ end }}

View File

@ -1,21 +1,21 @@
{{ if .Site.Params.widgets.tags }}
{{ if not (eq (len .Site.Taxonomies.tags) 0) }}
<div class="widget-wrap">
<h3 class="widget-title">
{{ with .Site.Data.l10n.widgets.tags.title }}{{.}}{{end}}
</h3>
<div class="widget">
<ul class="category-list">
{{ range $name, $items := .Site.Taxonomies.tags }}
<li class="category-list-item">
<a class="category-list-link" href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}">
{{ $name }}
</a>
<span class="category-list-count">{{ len $items }}</span>
</li>
{{ end }}
</ul>
</div>
<h3 class="widget-title">
{{ with .Site.Data.l10n.widgets.tags.title }}{{.}}{{end}}
</h3>
<div class="widget">
<ul class="category-list">
{{ range $name, $items := .Site.Taxonomies.tags }}
<li class="category-list-item">
<a class="category-list-link" href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}">
{{ $name }}
</a>
<span class="category-list-count">{{ len $items }}</span>
</li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
{{ end }}
{{ end }}

View File

@ -1,113 +1,128 @@
<div class="widget-wrap">
<div class="widget">
<h3 class="widget-title">Recent Updates</h3>
<div class="widget">
<h3 class="widget-title">Recent Updates</h3>
<table>
<tbody><tr>
<td class="pkg-name"><span class="community">pep8 1.7.0-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/pep8/" title="Details for pep8 [community]">any</a>
</td>
</tr>
<tbody>
<tr>
<td class="pkg-name"><span class="community">python-keyring 7.2-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/python-keyring/" title="Details for python-keyring [community]">any</a>
</td>
<td class="pkg-name"><span class="community">pep8 1.7.0-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/pep8/" title="Details for pep8 [community]">any</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">rp-pppoe 3.12-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/rp-pppoe/" title="Details for rp-pppoe [extra]">i686</a>/<a href="/packages/extra/x86_64/rp-pppoe/" title="Details for rp-pppoe [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="community">python-keyring 7.2-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/python-keyring/" title="Details for python-keyring [community]">any</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">gsound 1.0.2-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/gsound/" title="Details for gsound [extra]">i686</a>/<a href="/packages/extra/x86_64/gsound/" title="Details for gsound [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">rp-pppoe 3.12-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/rp-pppoe/" title="Details for rp-pppoe [extra]">i686</a>/<a
href="/packages/extra/x86_64/rp-pppoe/" title="Details for rp-pppoe [extra]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="community">go-ipfs 0.3.11-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/i686/go-ipfs/" title="Details for go-ipfs [community]">i686</a>/<a href="/packages/community/x86_64/go-ipfs/" title="Details for go-ipfs [community]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">gsound 1.0.2-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/gsound/" title="Details for gsound [extra]">i686</a>/<a
href="/packages/extra/x86_64/gsound/" title="Details for gsound [extra]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="community">mps-youtube 0.2.6-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/mps-youtube/" title="Details for mps-youtube [community]">any</a>
</td>
<td class="pkg-name"><span class="community">go-ipfs 0.3.11-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/i686/go-ipfs/" title="Details for go-ipfs [community]">i686</a>/<a
href="/packages/community/x86_64/go-ipfs/" title="Details for go-ipfs [community]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="community">python-sphinx 1.3.4-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/python-sphinx/" title="Details for python-sphinx [community]">any</a>
</td>
<td class="pkg-name"><span class="community">mps-youtube 0.2.6-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/mps-youtube/" title="Details for mps-youtube [community]">any</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="community">gpsbabel 1.5.3-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/i686/gpsbabel/" title="Details for gpsbabel [community]">i686</a>/<a href="/packages/community/x86_64/gpsbabel/" title="Details for gpsbabel [community]">x86_64</a>
</td>
<td class="pkg-name"><span class="community">python-sphinx 1.3.4-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/any/python-sphinx/" title="Details for python-sphinx [community]">any</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">marble 15.12.1-2</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/marble/" title="Details for marble [extra]">i686</a>/<a href="/packages/extra/x86_64/marble/" title="Details for marble [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="community">gpsbabel 1.5.3-1</span></td>
<td class="pkg-arch">
<a href="/packages/community/i686/gpsbabel/" title="Details for gpsbabel [community]">i686</a>/<a
href="/packages/community/x86_64/gpsbabel/" title="Details for gpsbabel [community]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">kdepimlibs 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/kdepimlibs/" title="Details for kdepimlibs [extra]">i686</a>/<a href="/packages/extra/x86_64/kdepimlibs/" title="Details for kdepimlibs [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">marble 15.12.1-2</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/marble/" title="Details for marble [extra]">i686</a>/<a
href="/packages/extra/x86_64/marble/" title="Details for marble [extra]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">libkdcraw 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/libkdcraw/" title="Details for libkdcraw [extra]">i686</a>/<a href="/packages/extra/x86_64/libkdcraw/" title="Details for libkdcraw [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">kdepimlibs 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/kdepimlibs/" title="Details for kdepimlibs [extra]">i686</a>/<a
href="/packages/extra/x86_64/kdepimlibs/" title="Details for kdepimlibs [extra]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">dolphin-plugins 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/dolphin-plugins/" title="Details for dolphin-plugins [extra]">i686</a>/<a href="/packages/extra/x86_64/dolphin-plugins/" title="Details for dolphin-plugins [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">libkdcraw 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/libkdcraw/" title="Details for libkdcraw [extra]">i686</a>/<a
href="/packages/extra/x86_64/libkdcraw/" title="Details for libkdcraw [extra]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">bomber 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/bomber/" title="Details for bomber [extra]">i686</a>/<a href="/packages/extra/x86_64/bomber/" title="Details for bomber [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">dolphin-plugins 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/dolphin-plugins/" title="Details for dolphin-plugins [extra]">i686</a>/<a
href="/packages/extra/x86_64/dolphin-plugins/" title="Details for dolphin-plugins [extra]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">kross-interpreters 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/kross-interpreters/" title="Details for kross-interpreters [extra]">i686</a>/<a href="/packages/extra/x86_64/kross-interpreters/" title="Details for kross-interpreters [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">bomber 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/bomber/" title="Details for bomber [extra]">i686</a>/<a
href="/packages/extra/x86_64/bomber/" title="Details for bomber [extra]">x86_64</a>
</td>
</tr>
<tr>
<td class="pkg-name"><span class="extra">kmplot 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/kmplot/" title="Details for kmplot [extra]">i686</a>/<a href="/packages/extra/x86_64/kmplot/" title="Details for kmplot [extra]">x86_64</a>
</td>
<td class="pkg-name"><span class="extra">kross-interpreters 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/kross-interpreters/"
title="Details for kross-interpreters [extra]">i686</a>/<a
href="/packages/extra/x86_64/kross-interpreters/"
title="Details for kross-interpreters [extra]">x86_64</a>
</td>
</tr>
</tbody></table>
</div>
</div>
<tr>
<td class="pkg-name"><span class="extra">kmplot 15.12.1-1</span></td>
<td class="pkg-arch">
<a href="/packages/extra/i686/kmplot/" title="Details for kmplot [extra]">i686</a>/<a
href="/packages/extra/x86_64/kmplot/" title="Details for kmplot [extra]">x86_64</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>

View File

@ -1,9 +1,9 @@
<div class="article-gallery">
<div class="article-gallery-photos">
{{ range .Params }}
<a class="article-gallery-img fancybox" href="{{ . }}" rel="group1">
<img src="{{ . | absURL }}" itemprop="image">
</a>
{{ end }}
</div>
</div>
<div class="article-gallery-photos">
{{ range .Params }}
<a class="article-gallery-img fancybox" href="{{ . }}" rel="group1">
<img src="{{ . | absURL }}" itemprop="image">
</a>
{{ end }}
</div>
</div>

View File

@ -1,5 +1,4 @@
<iframe
style="width: 100%; height: auto;" frameBorder="0" allowfullscreen="allowfullscreen"
<iframe style="width: 100%; height: auto;" frameBorder="0" allowfullscreen="allowfullscreen"
src="https://jsfiddle.net/{{.Get "id"}}/embedded/{{ if not (eq (.Get "tabs") "") }}{{ .Get "tabs" }}/{{ end }}">
</iframe>
<br><br>
<br><br>