updated website theme
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2023-12-16 00:45:03 +01:00
parent 94a9c22cea
commit cbd1c10fff
21 changed files with 30 additions and 151 deletions

View File

@ -1,6 +1,5 @@
{{ partial "head" . }}
{{ partial "header" . }}
<div id="container">
<div class="outer">
{{ partial "profile" . }}
@ -10,12 +9,8 @@
<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>
<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>
@ -25,8 +20,6 @@
{{ partial "sidebar" . }}
</div>
</div>
{{ partial "footer" . }}
</body>
</html>

View File

@ -1,7 +1,6 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
{{ partial "head" . }}
<body>
<div class="container">
<div id="container">
@ -15,5 +14,4 @@
</div>
{{ partial "footer" . }}
</body>
</html>

View File

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

View File

@ -1,7 +1,5 @@
<footer class="article-footer">
{{ if not (eq .Site.DisqusShortname "") }}
<a href="{{ .Permalink }}/#disqus_thread" class="article-comment-link">
{{with .Site.Data.l10n.articles.comments}}{{.}}{{end}}
</a>
<a href="{{ .Permalink }}/#disqus_thread" class="article-comment-link">{{with .Site.Data.l10n.articles.comments}}{{.}}{{end}}</a>
{{end}}
</footer>

View File

@ -1,8 +1,5 @@
<header class="article-header">
<h1 class="article-title" itemprop="name">
<a href="{{ .Permalink }}" class="permalink">{{ .Title }}</a>
</h1>
<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>
<div class="article-meta"></div>
</header>

View File

@ -9,19 +9,14 @@
-->
{{ range $paginator.Pages }}
<article class="article article-type-post" itemscope="" itemprop="blogPost">
<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>
{{ partial "article_header" . }}
<div class="article-entry" itemprop="articleBody">
<p>
{{ .Summary }} ...
</p>
<p>{{ .Summary }} ...</p>
<p class="article-more-link">
<a href="{{ .Permalink }}">
Read more

View File

@ -1,22 +1,17 @@
<header id="header">
<div id="header-main" class="header-inner">
<div class="outer">
<nav class="navbar navbar-default">
<div class="container-fluid">
{{ 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" . }}
</ul>
</div>
</div>
</nav>
</div>
</div>
</header>

View File

@ -1,20 +1,4 @@
<li>
<a href="https://git.paulbsd.com/paulbsd">
<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>
</li>
<li>
<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>
</li>
<li><a href="https://git.paulbsd.com/paulbsd"><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></li>
<li><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></li>

View File

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

View File

@ -1,7 +1,5 @@
<form class="navbar-form navbar-left" role="search" action="#" method="get">
<input type="hidden" value="syui.gitlab.io">
<div class="form-group">
<input type="text" class="form-control" placeholder="" name="q">
</div>
<div class="form-group"><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>

View File

@ -1,14 +1,10 @@
<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>
<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>
<a class="extend next" rel="next" href="{{.Paginator.Next.URL}}">{{with .Site.Data.l10n.pagination.next}}{{.}}{{end}} »</a>
{{ end }}
{{ end }}
</nav>

View File

@ -4,18 +4,14 @@
{{ 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_footer" . }}
</div>
</article>
<section id="comments">
<div id="disqus_thread">
{{ template "_internal/disqus.html" . }}
</div>

View File

@ -1,100 +1,75 @@
{{ with .Site.Social.github }}
<td><a href="https://github.com/{{.}}" target="_blank" title="Github"><i class="fa fa-github"></i></a></td>
{{ end }}
{{ with .Site.Social.bitbucket }}
<td><a href="https://bitbucket.com/{{.}}" target="_blank" title="Bitbucket"><i class="fa fa-bitbucket"></i></a></td>
{{ end }}
{{ with .Site.Social.jsfiddle }}
<td><a href="https://jsfiddle.com/{{.}}" target="_blank" title="JSFiddle"><i class="fa fa-jsfiddle"></i></a></td>
{{ end }}
{{ with .Site.Social.codepen }}
<td><a href="https://codepen.io/{{.}}" target="_blank" title="Codepen"><i class="fa fa-codepen"></i></a></td>
{{ end }}
{{ with .Site.Social.foursquare }}
<td><a href="https://foursquare.com/{{.}}" target="_blank" title="Foursquare"><i class="fa fa-foursquare"></i></a></td>
{{ end }}
{{ with .Site.Social.dribbble }}
<td><a href="https://dribbble.com/{{.}}" target="_blank" title="Dribbble"><i class="fa fa-dribbble"></i></a></td>
{{ end }}
{{ with .Site.Social.deviantart }}
<td><a href="https://{{.}}.deviantart.com/" target="_blank" title="Deviantart"><i class="fa fa-deviantart"></i></a></td>
{{ end }}
{{ with .Site.Social.behance }}
<td><a href="https://behance.net/{{.}}" target="_blank" title="Behance"><i class="fa fa-behance"></i></a></td>
{{ end }}
{{ with .Site.Social.flickr }}
<td><a href="https://flickr.com/photos/{{.}}" target="_blank" title="Flickr"><i class="fa fa-flickr"></i></a></td>
{{ end }}
{{ with .Site.Social.instagram }}
<td><a href="https://instagram.com/{{.}}" target="_blank" title="Instagram"><i class="fa fa-instagram"></i></a></td>
{{ end }}
{{ with .Site.Social.youtube }}
<td><a href="https://youtube.com/{{.}}" target="_blank" title="Youtube"><i class="fa fa-youtube"></i></a></td>
{{ end }}
{{ with .Site.Social.vimeo }}
<td><a href="https://vimeo.com/{{.}}" target="_blank" title="Vimeo"><i class="fa fa-vimeo"></i></a></td>
{{ end }}
{{ with .Site.Social.vine }}
<td><a href="https://vine.co/{{.}}" target="_blank" title="Vine"><i class="fa fa-vine"></i></a></td>
{{ end }}
{{ with .Site.Social.medium}}
<td><a href="https://medium.com/@{{.}}" target="_blank" title="Medium"><i class="fa fa-medium"></i></a></td>
{{ end }}
{{ with .Site.Social.wordpress }}
<td><a href="https://{{.}}.wordpress.com" target="_blank" title="Wordpress"><i class="fa fa-wordpress"></i></a></td>
{{ end }}
{{ with .Site.Social.tumblr }}
<td><a href="https://{{.}}.tumblr.com" target="_blank" title="Tumblr"><i class="fa fa-tumblr"></i></a></td>
{{ end }}
{{ with .Site.Social.xing }}
<td><a href="https://xing.com/profile/{{.}}" target="_blank" title="Xing"><i class="fa fa-xing"></i></a></td>
{{ end }}
{{ with .Site.Social.linkedin }}
<td><a href="https://linkedin.com/in/{{.}}" target="_blank" title="Linkedin"><i class="fa fa-linkedin"></i></a></td>
{{ end }}
{{ with .Site.Social.slideshare }}
<td><a href="https://slideshare.com/{{.}}" target="_blank" title="Slideshare"><i class="fa fa-slideshare"></i></a></td>
{{ end }}
{{ with .Site.Social.stackoverflow }}
<td><a href="https://stackoverflow.com/users/{{.}}" target="_blank" title="Stackoverflow"><i
class="fa fa-stackoverflow"></i></a></td>
<td><a href="https://stackoverflow.com/users/{{.}}" target="_blank" title="Stackoverflow"><i class="fa fa-stackoverflow"></i></a></td>
{{ end }}
{{ with .Site.Social.reddit }}
<td><a href="https://reddit.com/user/{{.}}" target="_blank" title="Reddit"><i class="fa fa-reddit"></i></a></td>
{{ end }}
{{ with .Site.Social.pinterest }}
<td><a href="https://pinterest.com/{{.}}" target="_blank" title="Pinterest"><i class="fa fa-pinterest"></i></a></td>
{{ end }}
{{ with .Site.Social.googleplus }}
<td><a href="https://plus.google.com/+{{.}}" target="_blank" title="Google+"><i class="fa fa-googleplus"></i></a></td>
{{ end }}
{{ with .Site.Social.facebook }}
<td><a href="https://facebook.com/{{.}}" target="_blank" title="Facebook"><i class="fa fa-facebook"></i></a></td>
{{ end }}
{{ with .Site.Social.twitter }}
<td><a href="https://twitter.com/{{.}}" target="_blank" title="Twitter"><i class="fa fa-twitter"></i></a></td>
{{ end }}

View File

@ -1,14 +1,9 @@
<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>
<span class="icon-bar"></span>
</button>
<h1>
<a class="navbar-brand" href="{{ .Site.BaseURL }}">
<span id="title">PaulBSD</span>
</a>
</h1>
<h1><a class="navbar-brand" href="{{ .Site.BaseURL }}"><span id="title">PaulBSD</span></a></h1>
</div>

View File

@ -6,10 +6,7 @@
<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>
<li class="category-list-item">{{ $name }}<span class="category-list-count">{{ len $items }}</span></li>
</a>
{{ end }}
</ul>

View File

@ -1,18 +1,10 @@
<div class="widget-wrap">
<div class="widget">
<h3 class="widget-title">
Docs
</h3>
<h3 class="widget-title">Docs</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>
<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>

View File

@ -15,8 +15,7 @@
</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>
<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>

View File

@ -1,15 +1,9 @@
{{ 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>
<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>

View File

@ -1,7 +1,6 @@
<div class="widget-wrap">
<input id="search" type="text" placeholder="search">
<ul id="results">
</ul>
<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

@ -8,9 +8,7 @@
<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>
<a class="category-list-link" href="{{ $.Site.BaseURL }}/tags/{{ $name | urlize | lower }}">{{ $name }}</a>
<span class="category-list-count">{{ len $items }}</span>
</li>
{{ end }}

View File

@ -9,14 +9,12 @@
<a href="/packages/community/any/pep8/" title="Details for pep8 [community]">any</a>
</td>
</tr>
<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>
</tr>
<tr>
<td class="pkg-name"><span class="extra">rp-pppoe 3.12-1</span></td>
<td class="pkg-arch">
@ -24,7 +22,6 @@
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">
@ -32,7 +29,6 @@
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">
@ -40,21 +36,18 @@
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">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">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="community">gpsbabel 1.5.3-1</span></td>
<td class="pkg-arch">
@ -62,7 +55,6 @@
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">
@ -70,7 +62,6 @@
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">
@ -78,7 +69,6 @@
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">
@ -86,7 +76,6 @@
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">
@ -94,7 +83,6 @@
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">
@ -102,7 +90,6 @@
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">
@ -112,7 +99,6 @@
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">
@ -120,7 +106,6 @@
href="/packages/extra/x86_64/kmplot/" title="Details for kmplot [extra]">x86_64</a>
</td>
</tr>
</tbody>
</table>
</div>