Compare commits
No commits in common. "e59b755090faf19aa68ae34e3173fb3a21ef5ee6" and "f4f4980e1f83ff06114fb22c29cd3e77ca14ad84" have entirely different histories.
e59b755090
...
f4f4980e1f
12 changed files with 3 additions and 260 deletions
|
@ -9,7 +9,8 @@ params:
|
|||
siteLicenseName: "GNU GPLv3"
|
||||
|
||||
taxonomies:
|
||||
blog_tag: 'blog/tags'
|
||||
category: categories
|
||||
tag: tags
|
||||
|
||||
privacy:
|
||||
disqus:
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
---
|
||||
title: "Blog"
|
||||
date: 2024-04-01
|
||||
draft: false
|
||||
type: blog
|
||||
|
||||
menu:
|
||||
main:
|
||||
weight: 150
|
||||
---
|
||||
|
||||
This blog is an eclectic collection of things I thought deserved to be written
|
||||
up and recorded. It may (or may never) include the way I set up some services
|
||||
for system administration, things I struggled to find, cool dev tricks, or
|
||||
whatever crosses my mind (and, hopefully, was helpful).
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
title: Test 1
|
||||
date: 2023-04-01
|
||||
draft: true
|
||||
"blog/tags":
|
||||
- test
|
||||
- misc
|
||||
---
|
||||
|
||||
Bonjour, ceci est un test.
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
title: Test 2
|
||||
date: 2023-05-02
|
||||
draft: true
|
||||
"blog/tags":
|
||||
- test
|
||||
- second
|
||||
---
|
||||
|
||||
Bonjour, ceci est également un test.
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
title: Ceci, par rapport aux autres, est un test avec un titre d'une longueur fort surprenante.
|
||||
date: 2023-05-12
|
||||
draft: true
|
||||
"blog/tags":
|
||||
- test
|
||||
---
|
||||
|
||||
Bonjour, ceci est également un test.
|
|
@ -31,7 +31,7 @@
|
|||
{{ partial "menu" . }}
|
||||
</div>
|
||||
|
||||
<div id="content" class="{{ block "contentclass" . }}{{ end }}">
|
||||
<div id="content">
|
||||
{{ block "pagename" . }}
|
||||
{{ end }}
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{{ define "profilepic" }}<div class="nopic"></div>{{ end }}
|
||||
|
||||
{{ define "pagename" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
<div id="entries">
|
||||
{{ range .Pages }}
|
||||
{{ partial "blog/entry_list.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
|
@ -1,20 +0,0 @@
|
|||
{{ define "profilepic" }}<div class="nopic"></div>{{ end }}
|
||||
{{ define "contentclass" }}blog{{ end }}
|
||||
|
||||
{{ define "pagename" }}
|
||||
<div id="post_head">
|
||||
<div id="post_date">{{ .Date | time.Format ":date_medium" }}</div>
|
||||
{{ with .GetTerms "blog/tags" }}
|
||||
<ul id="post_tags">
|
||||
{{ range . -}}
|
||||
<li class="tag"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
|
@ -1,13 +0,0 @@
|
|||
<div class="blog_entry">
|
||||
<div class="blog_entry_meta">
|
||||
{{ with .GetTerms "blog/tags" }}
|
||||
<ul class="blog_entry_tags">
|
||||
{{ range . -}}
|
||||
<li class="tag"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
<span class="blog_entry_date">{{ .Date | time.Format ":date_medium" }}</span>
|
||||
</div>
|
||||
<a href="{{ .Permalink }}" class="blog_entry_title">{{ .Title }}</a>
|
||||
</div>
|
|
@ -1,98 +0,0 @@
|
|||
// vim: tabstop=2 shiftwidth=2 expandtab
|
||||
|
||||
@import 'params';
|
||||
|
||||
#entries {
|
||||
.blog_entry {
|
||||
padding: 15px 0;
|
||||
|
||||
.blog_entry_title {
|
||||
display: block;
|
||||
font-size: 1.1em;
|
||||
text-align: left;
|
||||
}
|
||||
.blog_entry_meta {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
column-gap: 10px;
|
||||
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
color: $fg_color_light;
|
||||
}
|
||||
.blog_entry_date {
|
||||
display: block;
|
||||
align-self: flex-start;
|
||||
}
|
||||
.blog_entry_tags {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: 0;
|
||||
li {
|
||||
display: inline;
|
||||
}
|
||||
li ~ li::before {
|
||||
content: ", ";
|
||||
}
|
||||
&::before {
|
||||
content: "Tags:"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#post_head {
|
||||
margin: 20px 0;
|
||||
|
||||
h1 {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
#post_date {
|
||||
text-align: right;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#post_tags {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: 5px 0;
|
||||
&::before {
|
||||
content: "Tags: ";
|
||||
font-style: italic;
|
||||
padding-right: 1em;
|
||||
}
|
||||
li {
|
||||
font-style: italic;
|
||||
}
|
||||
li ~ li::before {
|
||||
content: ", ";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.blog {
|
||||
.highlight>pre {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: 10px auto;
|
||||
max-width: 80%;
|
||||
max-height: 60vh;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
border-left: 3px solid #8b8bbd;
|
||||
padding-left: 15px;
|
||||
margin-left: 25px;
|
||||
}
|
||||
}
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
@import url('fonts.css');
|
||||
@import 'params';
|
||||
@import 'blog';
|
||||
|
||||
html {
|
||||
background-color: $bg_color;
|
||||
|
|
|
@ -1,72 +1,5 @@
|
|||
@charset "UTF-8";
|
||||
@import url("fonts.css");
|
||||
#entries .blog_entry {
|
||||
padding: 15px 0; }
|
||||
#entries .blog_entry .blog_entry_title {
|
||||
display: block;
|
||||
font-size: 1.1em;
|
||||
text-align: left; }
|
||||
#entries .blog_entry .blog_entry_meta {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
column-gap: 10px;
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
color: #555555bb; }
|
||||
#entries .blog_entry .blog_entry_date {
|
||||
display: block;
|
||||
align-self: flex-start; }
|
||||
#entries .blog_entry .blog_entry_tags {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: 0; }
|
||||
#entries .blog_entry .blog_entry_tags li {
|
||||
display: inline; }
|
||||
#entries .blog_entry .blog_entry_tags li ~ li::before {
|
||||
content: ", "; }
|
||||
#entries .blog_entry .blog_entry_tags::before {
|
||||
content: "Tags:"; }
|
||||
|
||||
#post_head {
|
||||
margin: 20px 0; }
|
||||
#post_head h1 {
|
||||
margin: 5px 0; }
|
||||
#post_head #post_date {
|
||||
text-align: right;
|
||||
font-style: italic; }
|
||||
#post_head #post_tags {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: 5px 0; }
|
||||
#post_head #post_tags::before {
|
||||
content: "Tags: ";
|
||||
font-style: italic;
|
||||
padding-right: 1em; }
|
||||
#post_head #post_tags li {
|
||||
font-style: italic; }
|
||||
#post_head #post_tags li ~ li::before {
|
||||
content: ", "; }
|
||||
|
||||
.blog .highlight > pre {
|
||||
padding: 10px;
|
||||
border-radius: 10px; }
|
||||
|
||||
.blog img {
|
||||
display: block;
|
||||
margin: 10px auto;
|
||||
max-width: 80%;
|
||||
max-height: 60vh;
|
||||
border-radius: 10px; }
|
||||
|
||||
.blog blockquote {
|
||||
font-style: italic;
|
||||
border-left: 3px solid #8b8bbd;
|
||||
padding-left: 15px;
|
||||
margin-left: 25px; }
|
||||
|
||||
html {
|
||||
background-color: white; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue