commit
aec8a123a4
@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@ -0,0 +1,2 @@
|
||||
+++
|
||||
+++
|
@ -0,0 +1,30 @@
|
||||
[categories]
|
||||
other = "Categories"
|
||||
|
||||
[recent-posts]
|
||||
other = "Recent posts"
|
||||
|
||||
[tags]
|
||||
other = "Tags"
|
||||
|
||||
[poweredby]
|
||||
other = "Brooding made possible by <a href=\"https://gohugo.io\">Hugo</a> & <a href=\"https://forge.goe.land/eorn/simple-goeland\">Simple-Goeland</a>."
|
||||
|
||||
[publishedIn]
|
||||
other = "Published in"
|
||||
|
||||
[on]
|
||||
other = "on"
|
||||
|
||||
[readingTime]
|
||||
other = "Reading time"
|
||||
|
||||
[readingTimeValue]
|
||||
one = "~1 min"
|
||||
other = "~{{ .Count }} mins"
|
||||
|
||||
[recentContent]
|
||||
other = "Recent content on"
|
||||
|
||||
[readMore]
|
||||
other = "Read more"
|
@ -0,0 +1,31 @@
|
||||
[categories]
|
||||
other = "Catégories"
|
||||
|
||||
[recent-posts]
|
||||
other = "Billets récents"
|
||||
|
||||
[tags]
|
||||
other = "Tags"
|
||||
|
||||
[poweredby]
|
||||
other = "Couvaison rendue possible par <a href=\"https://gohugo.io\">Hugo</a> & <a href=\"https://forge.goe.land/eorn/simple-goeland\">Simple-Goeland</a>."
|
||||
|
||||
[publishedIn]
|
||||
other = "Publié dans"
|
||||
|
||||
[on]
|
||||
other = "le"
|
||||
|
||||
[readingTime]
|
||||
other = "Durée de lecture"
|
||||
|
||||
[readingTimeValue]
|
||||
one = "~1 min"
|
||||
other = "~{{ .Count }} mins"
|
||||
|
||||
[recentContent]
|
||||
other = "Contenu récent sur"
|
||||
|
||||
|
||||
[readMore]
|
||||
other = "Lire la suite"
|
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,39 @@
|
||||
{{- $pctx := . -}}
|
||||
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
|
||||
{{- $pages := slice -}}
|
||||
{{- if or $.IsHome $.IsSection -}}
|
||||
{{- $pages = $pctx.RegularPages -}}
|
||||
{{- else -}}
|
||||
{{- $pages = $pctx.Pages -}}
|
||||
{{- end -}}
|
||||
{{- $limit := .Site.Params.rss.limit -}}
|
||||
{{- if ge $limit 1 -}}
|
||||
{{- $pages = $pages | first $limit -}}
|
||||
{{- end -}}
|
||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>{{ i18n "recentContent" }} {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }} {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{ end }}
|
||||
{{ range $pages }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Params.rss.authorName }}<author>{{.}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ .Content | html }}</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
</rss>
|
@ -0,0 +1 @@
|
||||
{{ template "index.html" . }}
|
@ -0,0 +1,26 @@
|
||||
{{ partial "header" . }}
|
||||
{{ partial "nav" . }}
|
||||
{{ partial "sidebar" . }}
|
||||
|
||||
<section class="page-content">
|
||||
<div class="container">
|
||||
<article>
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<div class="tags-list">
|
||||
{{ if .Params.tags }}
|
||||
{{ partial "tags" .Params.tags }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<span class="article-date">{{ i18n "publishedIn" }} <a href="{{ .CurrentSection.URL }}">{{ .CurrentSection.Name }}</a> {{ i18n "on" }} {{ .Date.Format "2006-01-02" }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</span>
|
||||
|
||||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
{{ if .Site.Params.Info.related }}
|
||||
<div class="related">{{ partial "related" . }}</div>
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ partial "footer" . }}
|
@ -0,0 +1,36 @@
|
||||
{{ partial "header" . }}
|
||||
{{ partial "nav" . }}
|
||||
{{ partial "sidebar" . }}
|
||||
<section class="page-content">
|
||||
<div class="container">
|
||||
{{- $pctx := . -}}
|
||||
{{ if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
|
||||
{{- $pages := $pctx.RegularPages -}}
|
||||
{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
|
||||
{{ range sort .Paginator.Pages }}
|
||||
<article>
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<div class="tags-list">
|
||||
{{ if .Params.tags }}
|
||||
{{ partial "tags" .Params.tags }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<span class="article-date">{{ i18n "publishedIn" }} <a href="{{ .CurrentSection.URL }}">{{ .CurrentSection.Name }}</a> {{ i18n "on" }} {{ .Date.Format "2006-01-02" }}. {{ i18n "readingTime" }} {{ i18n "readingTimeValue" .ReadingTime }}.</span>
|
||||
|
||||
<div class="post-content">
|
||||
{{ if .Description }}
|
||||
{{ .Description | plainify | safeHTML }}
|
||||
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
|
||||
{{ else }}
|
||||
{{ .Summary | plainify | safeHTML }}
|
||||
{{ if .Truncated }}
|
||||
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</section>
|
||||
{{ partial "footer" . }}
|
@ -0,0 +1,16 @@
|
||||
</main>
|
||||
<footer class="footer container">
|
||||
<div class="has-text-centered">
|
||||
<p>{{ .Site.Copyright | safeHTML }}</p>
|
||||
{{ if .Site.Params.Info.poweredby }}
|
||||
<p>{{ i18n "poweredby" | safeHTML }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{{ if .Site.Params.matomoAnalytics }}
|
||||
{{- partial "analytitcs/matomo" . -}}
|
||||
{{ end }}
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" {{ with .Site.LanguageCode }} lang="{{ . }}"{{ end }}>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
{{ if eq .IsHome false }}
|
||||
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||
{{ else }}
|
||||
<title>{{ .Site.Title }}</title>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.Info.enableSocial }}
|
||||
<!-- Social here. -->
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.rss }}
|
||||
<link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
|
||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}"/>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
</head>
|
||||
|
||||
<body>
|
@ -0,0 +1,31 @@
|
||||
<div class="container" id="navbar">
|
||||
<nav class="nav-main">
|
||||
<div class="nav-top nav-left">
|
||||
<h1>
|
||||
<a href="{{ .Site.BaseURL }}">
|
||||
{{ .Site.Title }}
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="nav-top nav-right">
|
||||
<nav class="nav-item level is-mobile">
|
||||
{{- $social := ( .Site.Params.social ) -}}
|
||||
{{- range $platform := $social.config.platforms -}}
|
||||
{{- with $userLink := ( index $social $platform ) -}}
|
||||
<a class="level-item" aria-label="{{ $platform }}" target="_blank" rel="noopener" href="{{ $userLink }}">
|
||||
<span class="icon {{ $platform }}">
|
||||
<i>
|
||||
{{- partial "svg/icons" $platform -}}
|
||||
</i>
|
||||
</span>
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- range $.Site.Home.AllTranslations }}
|
||||
<a class="level-item" href="{{ .Permalink }}">{{ .Language.Lang }}</a>
|
||||
{{- end }}
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
@ -0,0 +1,9 @@
|
||||
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
||||
{{ with $related }}
|
||||
<h3>Billets similaires</h3>
|
||||
<ul>
|
||||
{{ range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a> <span class="article-date">- {{ i18n "readingTimeValue" .ReadingTime }}</span></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
@ -0,0 +1,15 @@
|
||||
{{ $page := .currentPage }}
|
||||
{{ range .menu }}
|
||||
{{ $posts := (where .Pages "File.Dir" "in" .Dir) }}
|
||||
{{ $postCount := len $posts }}
|
||||
|
||||
<li>
|
||||
<a href="{{ .URL }}" class="{{ if or (.IsAncestor $page) (eq . $page) }}active{{ end }}">{{ .Name }}</a>
|
||||
{{/* if ne $postCount 0 */}}{{/* $postCount */}}{{/* end */}}
|
||||
<ul>
|
||||
{{ if .Sections }}
|
||||
{{ partial "section-menu.html" (dict "menu" .Sections "currentPage" $page) }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
||||
{{ end }}
|
@ -0,0 +1,46 @@
|
||||
{{ template "structure-menu" (dict "currentLevel" $.Site "currentPage" .Page "level" 0 ) }}
|
||||
|
||||
|
||||
{{ define "structure-menu" }}
|
||||
{{ $level := .level }}
|
||||
{{ $currentLevel := .currentLevel }}
|
||||
{{ $currentPage := .currentPage }}
|
||||
{{ $children := .currentLevel.Sections }}
|
||||
|
||||
{{ if $currentLevel.Pages }}
|
||||
{{ range $currentLevel.Pages }}
|
||||
{{ if not (eq 0 $level) }}
|
||||
{{ $children = $children | append . }}
|
||||
{{ else }}
|
||||
{{ if and ( eq .Section "" ) ( not .IsHome ) }}
|
||||
{{ $children = $children | append . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ $url := "#" }}
|
||||
{{ if gt $level 0 }}
|
||||
{{ $url = $currentLevel.Permalink }}
|
||||
{{ else }}
|
||||
{{ $url = $currentLevel.BaseURL }}
|
||||
{{ end }}
|
||||
|
||||
<a href="{{ $url }}">{{ $currentLevel.Title }}</a>
|
||||
|
||||
{{ if $children }}
|
||||
<ol>
|
||||
{{ range $children }}
|
||||
<li>
|
||||
{{ if .IsNode }}
|
||||
{{ template "structure-menu" (dict "currentLevel" . "currentPage" $currentPage "level" (add 1 $level)) }}
|
||||
{{ else }}
|
||||
* <a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
@ -0,0 +1,9 @@
|
||||
{{ $currentPageName := .Page.Name }}
|
||||
|
||||
<div class="tags-list">
|
||||
{{ range $name, $items := .Site.Taxonomies.tags }}
|
||||
<span class="tag{{ if eq $currentPageName $name }} active{{ end }}">
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}">#{{ $name }}</a> ({{ len $items }})
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
@ -0,0 +1,10 @@
|
||||
<main class="container flex">
|
||||
<aside class="sidebar">
|
||||
<h2>{{ i18n "categories" }}</h2>
|
||||
{{- partial "section-menu.html" (dict "menu" .Site.Sections "currentPage" .Page) -}}
|
||||
|
||||
<br>
|
||||
|
||||
<h2>{{ i18n "tags" }}</h2>
|
||||
{{- partial "section-tags.html" . -}}
|
||||
</aside>
|
After Width: | Height: | Size: 4.8 KiB |
@ -0,0 +1,9 @@
|
||||
{{ range first 1 . }}
|
||||
<span class="tag"><a href="{{ "/tags/" | relURL }}{{ . | urlize }}/">#{{ . }}</a></span>
|
||||
{{ end }}
|
||||
|
||||
{{ if gt (len .) 1 }}
|
||||
{{ range after 1 . }}
|
||||
| <span class="tag"><a href="{{ "/tags/" | relURL }}{{ . | urlize }}/">#{{ . }}</a></span>
|
||||
{{ end }}
|
||||
{{ end }}
|
@ -0,0 +1,353 @@
|
||||
/***********
|
||||
* CSS style for the Simple-Goeland Hugo theme
|
||||
* Author: eorn (https://forge.goe.land/eorn/simple-goeland)
|
||||
***********/
|
||||
|
||||
/* CSS reset */
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Sections, containers... */
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
.container {
|
||||
max-width: 80rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.sidebar {
|
||||
flex: 0 0 250px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.page-content {
|
||||
font-size: 1em;
|
||||
min-width: 320px;
|
||||
flex-grow: 1;
|
||||
padding-left: 12px;
|
||||
}
|
||||
main.container {
|
||||
margin-top : 12px;
|
||||
margin-bottom: 25px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #53bcdf;
|
||||
}
|
||||
|
||||
|
||||
/* Navbar */
|
||||
#navbar {
|
||||
height: 40px;
|
||||
font-family: "Source Code Pro", monospace;
|
||||
}
|
||||
|
||||
.nav-left {
|
||||
float: left;
|
||||
}
|
||||
.nav-right {
|
||||
float: right;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.nav-left a, .nav-left h1 {
|
||||
text-decoration: none;
|
||||
color: #53bcdf;
|
||||
font-size: 30px;
|
||||
font-weight: bold;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.nav-right a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
.nav-right img, .nav-right svg {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.pleroma svg {
|
||||
fill: #f39f54;
|
||||
}
|
||||
.pleroma svg:hover {
|
||||
fill: #ffc992;
|
||||
}
|
||||
.pixelfed svg {
|
||||
fill: #c02fa8;
|
||||
}
|
||||
.pixelfed svg:hover {
|
||||
fill: #ff61f2;
|
||||
}
|
||||
.gitea svg {
|
||||
fill: #5f9825;
|
||||
}
|
||||
.gitea svg:hover {
|
||||
fill: #8dcc4a;
|
||||
}
|
||||
.rss svg {
|
||||
fill: #f76300;
|
||||
}
|
||||
.rss svg:hover {
|
||||
fill: #ffac46;
|
||||
}
|
||||
|
||||
|
||||
/* Sidebar */
|
||||
.sidebar {
|
||||
font-family: "Source Code Pro", monospace;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.sidebar hr {
|
||||
border 0;
|
||||
}
|
||||
.sidebar h2 {
|
||||
border-top: 1px solid #53bcdf;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-bottom: 10px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
.sidebar a {
|
||||
color: #53bcdf;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.sidebar a:hover {
|
||||
text-decoration: none;
|
||||
color: #9de2ff;
|
||||
}
|
||||
.sidebar ul, .sidebar li, .sidebar ul li {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
list-style: none;
|
||||
}
|
||||
.sidebar li ul {
|
||||
margin-left: 20px;
|
||||
}
|
||||
a.active {
|
||||
font-weight: bold;
|
||||
color: #9de2ff;
|
||||
}
|
||||
|
||||
.pagination {
|
||||
font-family: "Source Code Pro", monospace;
|
||||
padding-top: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
.pagination ul, .pagination li {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.page-content li.page-item::before {
|
||||
content: "";
|
||||
width: 0em;
|
||||
margin-left: 0em;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
.pagination a {
|
||||
background-color: #2f3335;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
font-family: "Source Code Pro", monospace;
|
||||
border-top: 1px solid #53bcdf;
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
|
||||
/* Content defaults */
|
||||
body {
|
||||
font-family: "Source Sans Pro", sans-serif;
|
||||
color: white;
|
||||
background-color: #232627;
|
||||
text-rendering: optimizeLegibility;
|
||||
line-height: 1.15;
|
||||
margin: 0 auto;
|
||||
max-width: 1280px;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
|
||||
.has-text-centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.page-content p {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #53bcdf;
|
||||
text-decoration: underline;
|
||||
font-family: "Source Code Pro", monospace;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: #9de2ff;
|
||||
}
|
||||
|
||||
.tag a {
|
||||
background-color: #2f3335;
|
||||
padding: 2px;
|
||||
color: #76e09d;
|
||||
}
|
||||
.tag a:hover {
|
||||
color: #b4ffd2;
|
||||
}
|
||||
.tag.active a {
|
||||
font-weight: bold;
|
||||
color: #b4ffd2;
|
||||
}
|
||||
.button a {
|
||||
background-color: #2f3335;
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.page-content article {
|
||||
margin-bottom: 25px;
|
||||
border-top: 1px dashed #bbb677;
|
||||
}
|
||||
|
||||
.page-content h1, .page-content h1 a {
|
||||
font-size: 30px;
|
||||
margin-bottom: 10px;
|
||||
font-weight: bold;
|
||||
color: #bbb677;
|
||||
}
|
||||
.page-content h1 a:hover {
|
||||
color: #f0eca9;
|
||||
}
|
||||
.page-content h2 {
|
||||
font-size: 25px;
|
||||
font-weight: bold;
|
||||
color: #bbb677;
|
||||
}
|
||||
.page-content h3 {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #bbb677;
|
||||
}
|
||||
.page-content h4 {
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
color: #bbb677;
|
||||
}
|
||||
.page-content h5 {
|
||||
font-size: 15px;
|
||||
color: #bbb677;
|
||||
}
|
||||
|
||||
.page-content .article-date {
|
||||
font-family: "Source Code Pro", monospace;
|
||||
font-size: 0.8em;
|
||||
margin: 0px;
|
||||
}
|
||||
.page-content .tags-list {
|
||||
float: right;
|
||||
}
|
||||
|
||||
article .post-content {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.page-content ul {
|
||||
padding: 0px;
|
||||
list-style: none;
|
||||
}
|
||||
.page-content ul li{
|
||||
margin-left: 10px;
|
||||
}
|
||||
.page-content ul li::before {
|
||||
content: "\2022";
|
||||
color: #53bcdf;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
width: 0.75em;
|
||||
margin-left: -0.5em;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.related {
|
||||
margin-top: 25px;
|
||||
border-top: 1px dashed #bbb677;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Responsive */
|
||||
@media only screen and (max-width: 800px) {
|
||||
.flex {
|
||||
display: table;
|
||||
}
|
||||
.sidebar {
|
||||
display: table-footer-group;
|
||||
}
|
||||
.page-content {
|
||||
display: table-header-group;
|
||||
padding: 0px;
|
||||
}
|
||||
#navbar .nav-left, #navbar .nav-right {
|
||||
float: none;
|
||||
text-align: center;
|
||||
}
|
||||
#navbar {
|
||||
min-height: 75px;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,21 @@
|
||||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Simple Goeland"
|
||||
license = "MIT"
|
||||
licenselink = "https://forge.goe.land/eorn/simple-goeland/src/branch/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://forge.goe.land/eorn/simple-goeland"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.58"
|
||||
|
||||
[author]
|
||||
name = "Eorn"
|
||||
homepage = "https://blog.goe.land"
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = ""
|
||||
homepage = ""
|
||||
repo = ""
|
Loading…
Reference in new issue