1
0
Fork 0

Fix up a few old-ish files

This commit is contained in:
Sebastian Schulze 2019-11-14 03:35:45 +01:00
parent d64452d6c0
commit bce7f0a1c0
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
19 changed files with 182 additions and 63 deletions

View File

@ -1,4 +1,4 @@
baseurl = "https://bascht.com"
baseurl = "http://localhost:1313/"
MetaDataFormat = "yaml"
languageCode = "de-de"
defaultContentLanguage = "de"
@ -7,6 +7,7 @@ enableEmoji = true
title = "bascht.com"
pygmentsStyle = "monokai"
PygmentsCodeFences = true
SectionPagesMenu = "main"
[params]
locale = "de-DE"
@ -14,16 +15,24 @@ locale = "de-DE"
[permalinks]
blog = "/blog/:year/:month/:day/:title/"
tech = "/tech/:year/:month/:day/:title/"
posts = "/posts/:year/:month/:day/:slug/"
[indexes]
tag = "tags"
[menu]
[[menu.main]]
name = "Blog"
weight = -100
url = "/blog/"
identifier = "blog"
[[menu.main]]
name = "Tech"
weight = -90
url = "/tech/"
identifier = "tech"
[[menu.main]]
name = "Posts"
identifier = "posts"
weight = -95
url = "/posts/"

View File

@ -1,5 +1,6 @@
---
title: "Einstieg in Mutt, Notmuch & Offlineimap"
slug: "einstieg-in-mutt-notmuch-&-offlineimap"
date: 2014-05-28
teaser: |
Der zweite Teil unserer Serie: »Bascht vs. Email«

View File

@ -4,8 +4,9 @@ title: "Kontakt"
comments: false
sharing: false
permalink: kontakt.html
menu: main
weight: -20
menu:
main:
weight: 100000800
---
Snail-Mail, Abmahnungen & Papierpost an:

View File

@ -1 +0,0 @@
{"src":"https://pinboard.in/u:bascht","date":"2018-12-19T20:50:30.000Z","slug":null,"tags":null,"text":null,"type":"pinboard","title":"How Trump Made War on Angela Merkel and Europe | The New Yorker","category":"posts","media_url":", \"\"","original_url":"https://www.newyorker.com/magazine/2018/12/24/how-trump-made-war-on-angela-merkel-and-europe","location_latitude":null,"additional_payload":null,"location_longitude":null}

View File

@ -1 +0,0 @@
{"src":null,"date":"2018-12-19T20:49:10.000Z","slug":null,"tags":["fonts, unicode, text, design, tool, via:popular, pinboard"],"text":null,"type":"pocket_favourite","title":"𝕭𝖊𝖆𝖚𝖙𝖎𝖋𝖚𝖑 𝕯𝖎𝖓𝖌𝖇𝖆𝖙𝖘","category":"posts","media_url":", \"\"","original_url":"https://beautifuldingbats.com/hey-howd-you-do-that","location_latitude":null,"additional_payload":null,"location_longitude":null}

View File

@ -1 +0,0 @@
{"src":"https://pinboard.in/u:bascht","date":"2018-12-19T20:49:41.000Z","slug":null,"tags":["death, life, philosophy, meditation, bertrandrussell, via:popular, pinboard"],"text":null,"type":"pinboard","title":"“How to Grow Old” by Bertrand Russell - Ben Yan","category":"posts","media_url":", \"\"","original_url":"https://sites.google.com/site/gobenyan/essay","location_latitude":null,"additional_payload":null,"location_longitude":null}

View File

@ -1 +0,0 @@
Bascht (Pinboard)

View File

@ -1,7 +1,7 @@
#+TITLE: Migrating to Hugo 0.3x
#+DATE: 2018-03-03
#+DRAFT: nil
#+TAGS: hugo migration markdown orgmode emacs
#+TAGS[]: hugo migration markdown orgmode emacs
My personal relation with Hugo [[https://git.bascht.space/bascht/bascht.com/commit/75ae9c346694686f1d05a5839df6a4c23e628260][has been a mixed bag]] but so far I'm still happy
with it - especially since it [[http://bepsays.com/en/2017/02/27/hugo-019/][supports native =org-mode=]] with version 0.19.

View File

@ -1,6 +1,6 @@
#+TITLE: Ruby on Ice: A quick glance at our budget
#+DATE: 2018-04-30
#+TAGS: ruby rubyonice money budget rubyberlin
#+TAGS[]: ruby rubyonice money budget rubyberlin
I wanted to to publish this blog post for a while now, but time's been running
fast and now it's already three months since [[https://rubyonice.com/2018][Ruby

View File

@ -1,6 +1,6 @@
#+TITLE: Direnv in combination with Passwordstore
#+TITLE: Direnvin combination with Passwordstore
#+DATE: 2018-08-09
#+TAGS: direnv pass linux desktop security
#+TAGS[]: direnv pass linux desktop security
I'm using the brilliant [[https://www.passwordstore.org/][pass]] utility to manage passwords and user accounts for

View File

@ -1,21 +1,22 @@
{{ partial "header.html" . }}
<body>
{{ partial "navbar.html" . }}
<div class="main wrapper clearfix">
<h1>{{ .Title }}</h1>
<article>
<div class="post-content">
{{ .Content }}
</div>
</article>
<aside>
<h4>Post vom</h4> {{ .Date.Format "02. January 2006" }}
<h4>Tags</h4> {{ partial "tags.html" . }}
<hr/>
📂 <a href="/blog/">Blog-Archiv</a>
</aside>
</div>
{{ partial "pager.html" . }}
{{ partial "footer.html" . }}
{{ partial "navbar.html" . }}
<div class="main wrapper clearfix">
<article class="h-entry">
<h1 class="p-name"> <a class="u-url" href="{{ .Permalink }}">{{ .Title }}</a></h1>
<p class="p-summary hidden">{{ .Summary }}</p>
<div class="post-content e-content">{{ .Content }}</div>
<time class="hidden dt-published" datetime="{{ $.Date }}">{{ .Date.Format "02. January 2006" }}</time>
<a class="p-author h-card hidden" href="https://bascht.com"><img class="u-photo hidden" src="/images/bascht.jpg"/>Bascht</a>
</article>
<aside>
<h4>Post vom</h4> {{ .Date.Format "02. January 2006" }}
<h4>Tags</h4> {{ partial "tags.html" . }}
<hr/>
📂 <a href="/blog/">Blog-Archiv</a>
</aside>
</div>
{{ partial "pager.html" . }}
{{ partial "footer.html" . }}
</body>
</html>

View File

@ -1,33 +1,45 @@
{{ partial "header.html" . }}
<body>
{{ partial "navbar.html" . }}
<div class="main wrapper clearfix">
<div class="post-content">
<img align="left" style="margin-top: 0;" src="/images/bascht.jpg">
<h4>Hallo!</h4>
Mein Name ist <strong>Bascht</strong>. Ich bin hauptsächlich Mensch,
Christ, Dipl.-Ing. für Multimediatechnik, Musikliebhaber. Als
freiberuflicher Infrastruktur- &amp; Webentwickler beschäftige ich
mich mit <a href="http://www.ruby-lang.org">Ruby</a> &amp; <a href="https://puppetlabs.com/">Puppet</a>
und bändige diverse virtuelle und reale Linuxe. Liebend gern bewege
ich mich in real existierenden sozialen Netzwerken wie der
<a href="http://www.freundearbeit.de">Freundearbeit</a>,
dem <a href="http://www.ccc.org">CCC</a>
und der <a href="http://munich.onruby.de">Rubyshift Munich</a>.
Musikalisch fühle ich mich irgendwo zwischen Hardcore und Jazz zu Hause, spiele Gitarre und ein
KORG nanoKEY (letzteres noch mehr schlecht als recht).
Viel Spaß beim stöbern!
{{ partial "navbar.html" . }}
<div class="main wrapper clearfix">
<div class="post-content">
<img align="left" style="margin-top: 0;" src="/images/bascht.jpg">
<h4>Hallo!</h4>
Mein Name ist <strong>Bascht</strong>. Ich bin hauptsächlich Mensch,
Christ, Dipl.-Ing. für Multimediatechnik, Musikliebhaber. Als
freiberuflicher Infrastruktur- &amp; Webentwickler beschäftige ich
mich mit <a href="http://www.ruby-lang.org">Ruby</a> &amp; <a href="https://puppetlabs.com/">Puppet</a>
und bändige diverse virtuelle und reale Linuxe. Liebend gern bewege
ich mich in real existierenden sozialen Netzwerken wie der
<a href="http://www.freundearbeit.de">Freundearbeit</a>,
dem <a href="http://www.ccc.org">CCC</a>
und der <a href="http://munich.onruby.de">Rubyshift Munich</a>.
Musikalisch fühle ich mich irgendwo zwischen Hardcore und Jazz zu Hause, spiele Gitarre und ein
KORG nanoKEY (letzteres noch mehr schlecht als recht).
Viel Spaß beim stöbern!
<hr>
<div class="social_bar">
{{ $array := slice "foursquare_checkin" "instagram_image" "twitter_tweet" }}
{{ range $type := $array }}
{{ range first 1 (where site.Pages "Params.type" $type).ByDate.Reverse }}
{{ .Render "summary" }}
{{ end }}
{{ end }}
</div>
{{ range first 1 (where .Data.Pages "Section" "blog") }}
<p> Aktueller Blog-Post:
<a href='{{ .Permalink }}'> {{ .Title }}</a>
({{ .FuzzyWordCount }} Wörter vom {{ .Date.Format "02.01.2006" }}).
</p>
{{ end }}
<hr/>
<p class="noborder"><img src="/images/bascht_unterschrift.gif"></p>
</div>
</div>
{{ partial "footer.html" . }}
<hr/>
<p class="noborder"><img src="/images/bascht_unterschrift.gif"></p>
</div>
</div>
<p class="h-card">
<img class="u-photo" src="https://bascht.com/images/bascht.jpg" alt="Photo of Bascht" />
<a class="p-name u-url" href="https://bascht.com">Sebastian Schulze</a>
<a class="u-email" href="mailto:hello+2019@bascht.com">hello+2019@bascht.com</a>,
<span class="p-nickname">Bascht</span>
<span class="p-locality">Munich</span>
<span class="p-country-name">Germany</span>
<span class="p-note">Bascht (or Sebastian) is a Human interested in Tech, Society and Music. Working as a freelance operations engineer from Munich, Germany.</spanm>
</p>
{{ partial "footer.html" . }}
</body>
</html>

View File

@ -2,8 +2,9 @@
<div class="footer-container">
<footer class="wrapper">
<ul>
<li>Twitter: <a href="https://twitter.com/bascht">@bascht</a></li>
<li>GitHub: <a href="https://github.com/bascht">@bascht</a></li>
<li>Twitter: <a href="https://twitter.com/bascht" rel="me">@bascht</a></li>
<li>GitHub: <a href="https://github.com/bascht" rel="me">@bascht</a></li>
<li class="hidden">Instagram: <a href="https://instagram.com/bascht" rel="me">@bascht</a></li>
<li>Xing: <a href="https://www.xing.com/profile/Sebastian_Schulze10/N52.057a44">Sebastian Schulze</a></li>
</ul>
</footer>

View File

@ -11,6 +11,13 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/normalize.min.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/main.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/bascht.com.css">
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
<link href="https://micro.blog/bascht" rel="me" />
<link href="https://rss.bascht.space/nanopub/nanopub.php" rel="micropub">
<link rel="webmention" href="https://feed.bascht.com/wp-json/webmention/1.0/endpoint" />
<link rel="http://webmention.org/" href="https://feed.bascht.com/wp-json/webmention/1.0/endpoint" />
<link rel="icon" href="/favicon.ico" />
<script src="/js/vendor/modernizr.min.js"></script>
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">

View File

@ -9,7 +9,7 @@
<ul>
{{ $currentNode := . }}
{{ range .Site.Menus.main }}
<li{{if $currentNode.IsMenuCurrent "main" . }} class="active"{{end}}><a href="{{.URL}}"> {{ .Name }} </a> </li>
<li{{if or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .) }} class="active"{{end}}><a href="{{.URL}}"> {{ .Name }} </a> </li>
{{end}}
</ul>
</nav>

View File

@ -6,7 +6,7 @@
<div class="tags">
<i class="fa fa-tags fa-fw"></i>
{{ range $k, $v := .Params.tags }}
<a class="post-taxonomy-tag" href="{{ $baseUrl }}tags/{{ . | urlize }}">{{ . }}</a>{{ if lt $k (sub $count 1) }},{{ end }}
<a class="post-taxonomy-tag p-category" href="{{ $baseUrl }}tags/{{ . | urlize }}">{{ . }}</a>{{ if lt $k (sub $count 1) }},{{ end }}
{{ end }}
</div>
{{ end }}

View File

@ -8,9 +8,29 @@ RewriteRule (.*) https://bascht.com/$1 [R=301,L]
ErrorDocument 404 /404.html
# -- redirects (see https://github.com/gohugoio/hugo/issues/6007)
Redirect 301 /blog/2014/05/28/einstieg-in-mutt-notmuch--offlineimap/ /blog/2014/05/28/einstieg-in-mutt-notmuch-offlineimap
Redirect 301 /tech/1/01/01/fguillen/simplecov-rcov---github /tech/1/01/01/fguillen/simplecov-rcov-github
Redirect 301 /tech/1/01/01/ksplice---hello-from-a-libc-free-world /tech/1/01/01/ksplice-hello-from-a-libc-free-world
Redirect 301 /tech/1/01/01/kill-your-to-do-list--zen-habits /tech/1/01/01/kill-your-to-do-list-zen-habits
Redirect 301 /tech/1/01/01/tmux-settings-for-screen---vim-fans /tech/1/01/01/tmux-settings-for-screen-vim-fans
Redirect 301 /tech/1/01/01/run-effective-google-style-meetings---lifehacker /tech/1/01/01/run-effective-google-style-meetings-lifehacker
Redirect 301 /tech/1/01/01/secured-typing---the-daily-wtf /tech/1/01/01/secured-typing-the-daily-wtf
Redirect 301 /tech/1/01/01/an-interview-with-andrew-plotkin--the-setup /tech/1/01/01/an-interview-with-andrew-plotkin-the-setup
Redirect 301 /tech/1/01/01/slicehost-articles-ubuntu-lucid-setup---part-2 /tech/1/01/01/slicehost-articles-ubuntu-lucid-setup-part-2
Redirect 301 /tech/1/01/01/mac--the-ipad /tech/1/01/01/mac-the-ipad
Redirect 301 /tech/1/01/01/solve-the-problem-calm-the-client--save-the-project /tech/1/01/01/solve-the-problem-calm-the-client-save-the-project
Redirect 301 /tech/1/01/01/dont-be-afraid-of-php-5.3---juozas-devblog /tech/1/01/01/dont-be-afraid-of-php-5.3-juozas-devblog
Redirect 301 /tech/1/01/01/applying-mathematics-to-web-design---smashing-magazine /tech/1/01/01/applying-mathematics-to-web-design-smashing-magazine
Redirect 301 /tech/1/01/01/hudsons-future--hudson-labs /tech/1/01/01/hudsons-future-hudson-labs
Redirect 301 /tech/1/01/01/scott-chacon--the-geek-talk /tech/1/01/01/scott-chacon-the-geek-talk
Header set Content-Security-Policy "default-src https: 'unsafe-eval' 'unsafe-inline'; img-src 'self' https://img.bascht.com https://static.media.ccc.de http://cdn.media.ccc.de"
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "SAMEORIGIN"
Header set X-XSS-Protection "1; mode=block"
Header set X-Respekt "Du schaust ja wirklich in die Header!"
Header set X-Respekt "Du schaust ja wirklich in die Header!"
Header set Access-Control-Allow-Origin "https://feed.bascht.com"

View File

@ -113,6 +113,7 @@ a:hover { color: #a71000; }
a:visited { color: none; }
div.post-content img,
div.posts img,
div.highlight,
article video,
article img {
@ -173,7 +174,7 @@ nav#main ul li a {
font-family: "Fira Sans";
font-weight: bold;
border-radius: 3px;
padding: 0 1em 0 1em;
/* padding: 0 1em 0 1em; */
}
nav#main ul li.active a {
background-color: rgb(34, 34, 34);
@ -199,6 +200,62 @@ article.summary a.anchor {
text-decoration: none;
}
.posts a {
width: 80%;
padding: 1em;
margin: 1em;
display: block;
/* float: left; */
/* height: 50px; */
border: 1px solid #cdcdcd;
border-radius: 5px;
/* overflow: hidden; */
text-decoration: none;
color: inherit;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 100%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 100%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 100%);
}
.posts a:hover {
background: #f2f2f2;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 31%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 31%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 31%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
}
.posts span.social_logo {
color: #f2f2f2;
width: 0.7em;
height: 0.7em;
margin-right: 0.2em;
vertical-align: top;
display: inline-block;
}
h1 span.social_logo,
h2 span.social_logo {
color: #f2f2f2;
width: 0.7em;
height: 0.7em;
margin-right: 0.5em;
display: inline-block;
}
div.social_bar {
clear: both;
}
div.social_bar > a {
background-color: #FF0000;
float: left;
width: 30%;
height: 200px;
display: inline-block;
}
.tech-notes a {
width: 15em;
padding: 1em;
@ -227,13 +284,23 @@ article.summary a.anchor {
}
div.highlight {
border: none;
padding: 0;
}
div.highlight pre {
border-radius: 5px;
padding: 0.8em;
}
article h1 {
font-size: 1.5em;
}
article h1 .u-url {
text-decoration: none;
color: #222;
}
article h2 {
font-size: 1.2em;
}
@ -247,3 +314,7 @@ article pre {
color: #efefef;
background-color: #272822;
}
.h-card {
display: none;
}

0
static/images/bascht_unterschrift.gif Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB