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

@ -23,9 +23,10 @@
</article>
</section>
{{ partial "sidebar" . }}
</div>
</div>
</div>
{{ partial "footer" . }}
</body>
</html>

View File

@ -1,6 +1,10 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
{{ partial "head" . }}
<div id="container">
<body>
<div class="container">
<div id="container">
{{ partial "header" . }}
<!--{{ partial "home" . }}-->
@ -10,8 +14,9 @@
{{ partial "sidebar" . }}
</div>
</div>
{{ partial "footer" . }}
</div>
</div>
{{ partial "footer" . }}
</body>
</html>

View File

@ -1,6 +1,6 @@
<div class="tweet-footer">
<a href="http://twitter.com/share?url={{ .Permalink }}&text={{ .Title }}" target="_blank" title="Twitter" >
<span class="tweet-botton">
<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>

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>

View File

@ -1,5 +1,4 @@
<section id="main">
{{ $pages := .Pages }}
{{ if .IsHome }}
{{ $pages = .Site.RegularPages }}
@ -27,7 +26,7 @@
<a href="{{ .Permalink }}">
Read more
<!--
{{with .Site.Data.l10n.articles.read_more}}{{.}}{{end}}
{{ with .Site.Data.l10n.articles.read_more }}{{ . }}{{ end }}
-->
</a>
</p>
@ -40,4 +39,3 @@
{{ end }}
{{ partial "pagination" . }}
</section>
<!-- // main section -->

View File

@ -5,7 +5,8 @@
&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-right"> <a href="">Reference</a> <a href="">Keybind</a> <a href="">Command</a> <a
href="">API</a> </footer>
</div>
</div>
</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,5 +1,3 @@
<header id="header">
<div id="header-main" class="header-inner">
<div class="outer">
@ -20,8 +18,6 @@
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</nav>
</header>

View File

@ -1,7 +1,7 @@
<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>
<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>
@ -10,4 +10,4 @@
<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>

View File

@ -1,5 +1,5 @@
<nav id="page-nav">
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
{{ 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}}
@ -10,5 +10,5 @@
{{with .Site.Data.l10n.pagination.next}}{{.}}{{end}} »
</a>
{{ end }}
{{ end }}
{{ end }}
</nav>

View File

@ -13,8 +13,10 @@
{{ partial "article_footer" . }}
</div>
<script type="text/javascript">
talaria.init({REPOSITORY_NAME: 'syui.gitlab.io-comment',
GITHUB_USERNAME: 'mba-hack'});
talaria.init({
REPOSITORY_NAME: 'syui.gitlab.io-comment',
GITHUB_USERNAME: 'mba-hack'
});
</script>
</article>

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 }}

View File

@ -1,5 +1,6 @@
<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"
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>

View File

@ -3,5 +3,5 @@
<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>

View File

@ -3,7 +3,8 @@
<h3 class="widget-title">
Docs
<!--{{with .Site.Data.l10n.widgets.documentation.title}}{{.}}{{end}} -->
</h3><ul class="category-list">
</h3>
<ul class="category-list">
<li class="category-list-item">
<a href="#">Wiki</a>
</li>

View File

@ -1,7 +1,8 @@
<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">
<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">
@ -11,12 +12,12 @@
<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="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

@ -3,15 +3,16 @@
<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">
<li id="first-recent"><a href="/index.xml" id="firstmove" class="move">
<h3 class="widget-title">
Posts
</h3></a></li>
</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 }}
</ul>
</div>
</div>
{{ 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>
<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

@ -10,7 +10,7 @@
<a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" style="font-size: 12px;">{{ $name }}</a>
{{ end }}
</div>
</ul>
</ul>
</div>
{{ end }}
{{ end }}

View File

@ -3,7 +3,8 @@
<h3 class="widget-title">Recent Updates</h3>
<table>
<tbody><tr>
<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>
@ -20,21 +21,24 @@
<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>
<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="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>
<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">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>
<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>
@ -55,59 +59,70 @@
<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>
<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">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>
<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">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>
<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">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>
<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">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>
<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">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>
<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">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>
<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>
<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>
<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>
</tbody>
</table>
</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>