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

View File

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

View File

@ -1,11 +1,11 @@
<div class="article-inner-first"> <div class="article-inner-first">
<h2> <h2>
A simple, lightweight theme A simple, lightweight theme
</h2> </h2>
<p> <p>
You've reached the website for <b>Arch Linux</b> user, I was in mobile-enabled. You've reached the website for <b>Arch Linux</b> user, I was in mobile-enabled.
</p> </p>
</div> </div>
<!-- <!--

View File

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

View File

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

View File

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

View File

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

View File

@ -3,11 +3,13 @@
<script src="{{ .Site.BaseURL }}fancybox/jquery.fancybox.pack.js"></script> <script src="{{ .Site.BaseURL }}fancybox/jquery.fancybox.pack.js"></script>
<script src="{{ .Site.BaseURL }}js/script.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 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 }} {{ "<!-- MathJax -->" | safeHTML }}
<script type="text/x-mathjax-config"> <script type="text/x-mathjax-config">
MathJax.Hub.Config({ MathJax.Hub.Config({
tex2jax: { tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']]} 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://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> <head>
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<meta charset="utf-8"> <meta charset="utf-8">
@ -40,5 +38,3 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/mobile.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/mobile.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/cal-heatmap/cal-heatmap.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/cal-heatmap/cal-heatmap.css" />
</head> </head>
<body>
<div class="container">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -75,7 +75,8 @@
{{ end }} {{ end }}
{{ with .Site.Social.stackoverflow }} {{ 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 }} {{ end }}
{{ with .Site.Social.reddit }} {{ with .Site.Social.reddit }}

View File

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

View File

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

View File

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

View File

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

View File

@ -1,22 +1,23 @@
<div class="widget-wrap"> <div class="widget-wrap">
<div class="widget-download"> <div class="widget-download">
<div class="btn-group"> <div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
<i class="fa fa-question-circle"></i> Help <span class="caret"></span> aria-expanded="false">
</button> <i class="fa fa-question-circle"></i> Help <span class="caret"></span>
<ul class="dropdown-menu"> </button>
<li><a href="#">Keybind</a></li> <ul class="dropdown-menu">
<li><a href="#">Command</a></li> <li><a href="#">Keybind</a></li>
<li><a href="#">Reference</a></li> <li><a href="#">Command</a></li>
<li role="separator" class="divider"></li> <li><a href="#">Reference</a></li>
<li><a href="https://gitlab.com/syui">GitLab</a></li> <li role="separator" class="divider"></li>
</ul> <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>
<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 }} {{ if .Site.Params.widgets.recent_articles }}
<div class="widget-wrap"> <div class="widget-wrap">
<div class="widget"> <div class="widget">
<ul id="recent-post"> <ul id="recent-post">
<li id="first-recent"><a href="/index.xml" id="firstmove" class="move"><h3 class="widget-title"> <li id="first-recent"><a href="/index.xml" id="firstmove" class="move">
Posts <h3 class="widget-title">
</h3></a></li> Posts
{{ range first 10 (where .Site.RegularPages "Type" "post") }} </h3>
</a></li>
{{ range first 10 (where .Site.RegularPages "Type" "post") }}
<li><a href="{{ .Permalink }}" class="move"> {{ .Title }}</a> </li> <li><a href="{{ .Permalink }}" class="move"> {{ .Title }}</a> </li>
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
</div> </div>
{{ end }} {{ end }}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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