+ Required meta data for active posts

* Moving drafted never posted stuff to an unused folder
This commit is contained in:
shockrah 2021-08-14 18:05:10 -07:00
parent ef568b9eb1
commit 9e40ea463c
27 changed files with 119 additions and 9 deletions

View File

@ -1,7 +1,7 @@
--- ---
title: "How this site came to be" title: "How this site came to be"
date: July 22, 2018 date: July 22, 2018
draft: false draft: true
--- ---
# How this site came to be # How this site came to be
@ -26,7 +26,15 @@ post() {
# First build the content of the site # First build the content of the site
pandoc $1 > $tmp pandoc $1 > $tmp
# Title, images and tables get added/fixed here # Title, images and tables get added/fixed here
sed "s/{TITLE}/<title>${base%.*}<\/title>/g" ./templates/post-header.html > $full sed "s/{TITLE}/<title>${base%.*}<\/title>/g" ./temp alias in your bashrc and youre good to go.
Rambled guess time
My guess on how the alias is that bash doesnt try to figure out that you want to use vim since youve only typed a single v in this case; therefore tab-completion would go unnoticed?
Say you had a directory with files:
first
second
lates/post-header.html > $full
cat $tmp ./templates/post-footer.html >> $full cat $tmp ./templates/post-footer.html >> $full
sed -i 's/<img/<img class="pure-img"/g;s/<table>/<table class="pure-table">/g' $full sed -i 's/<img/<img class="pure-img"/g;s/<table>/<table class="pure-table">/g' $full

View File

@ -1,6 +1,6 @@
--- ---
title: "Delivering whole OS's in Gitlab's CI/CD" title: "Delivering whole OS's in Gitlab's CI/CD"
date: "Unknown" date: 0000-00-00
draft: true draft: true
--- ---

View File

@ -1,3 +1,9 @@
---
title: "Drive Recover"
date: 0000-00-00
draft: true
---
# Drive Recovery # Drive Recovery
I've gone through too many hard drives and solid state drives to count and they've piled up over the years. So let's find out which ones are actually dead, and which ones I can recover. I've gone through too many hard drives and solid state drives to count and they've piled up over the years. So let's find out which ones are actually dead, and which ones I can recover.

View File

@ -1,3 +1,9 @@
---
title: Economical Eats
date: 0000-00-00
draft: true
---
# Economical Eats # Economical Eats
## A dense packing of information those in recently found hard times ## A dense packing of information those in recently found hard times

View File

@ -1,4 +1,10 @@
# title ---
title: Esports Post
date: 0000-00-00
draft: true
---
# Esports Post
So for the past week or so I've been deliberating progress over an e-sports related project of mine: [scuffed-league](https://gitlab.com/shockrah/scuffed-league). So for the past week or so I've been deliberating progress over an e-sports related project of mine: [scuffed-league](https://gitlab.com/shockrah/scuffed-league).
The whole idea here is that I like tournaments I still believe that proper long-running leagues are the preferable choice for keeping spectators and competitors around for long periods of time. The whole idea here is that I like tournaments I still believe that proper long-running leagues are the preferable choice for keeping spectators and competitors around for long periods of time.

View File

@ -1,3 +1,9 @@
---
title: "DWM and POP!\_OS"
date: 0000-00-00
draft: true
---
# DWM and POP!\_OS # DWM and POP!\_OS

View File

@ -1,6 +1,6 @@
--- ---
title: "Carry On PC - How I crammed a full ATX board into a mATX Case" title: "Carry On PC - How I crammed a full ATX board into a mATX Case"
date: January 10, 2018 date: 2018-01-10
draft: false draft: false
--- ---

View File

@ -1,6 +1,6 @@
--- ---
title: "Bash is weird sometimes" title: "Bash is weird sometimes"
date: July 22, 2018 date: 2018-07-22
draft: false draft: false
--- ---

View File

@ -1,6 +1,6 @@
--- ---
title: "Using Gitlab CI For VPS and Neocites Deployment" title: "Using Gitlab CI For VPS and Neocites Deployment"
date: "February 08, 2021" date: 2021-02-08
draft: false draft: false
--- ---

View File

@ -1,6 +1,6 @@
--- ---
title: "DWM > i3" title: "DWM > i3"
date: August 18, 2019 date: 2019-08-18
draft: false draft: false
--- ---

View File

@ -1,3 +1,9 @@
---
title: "Making Ice Cream at Home"
date: 2020-07-24
draft: false
---
# Making Ice Cream at Home # Making Ice Cream at Home
**NOTE**: While I don't use an ice cream maker, I do suggest a hand mixer but this can be done with as little as a fork/spoon to mix things(doing that sucks though). **NOTE**: While I don't use an ice cream maker, I do suggest a hand mixer but this can be done with as little as a fork/spoon to mix things(doing that sucks though).

View File

@ -1,3 +1,9 @@
---
title: "Lewdlad: The Little Chronjob that could"
date: 2021-07-25
draft: false
---
# Lewdlad: the little Chronjob that could # Lewdlad: the little Chronjob that could
## What is "Lewdlad" ## What is "Lewdlad"

View File

@ -1,3 +1,8 @@
---
title: "High Spec Logging on Low Spec Hardware"
date: 2021-03-15
draft: false
---
# High Spec Logging on Low Spec Hardware # High Spec Logging on Low Spec Hardware
Being a server admin with a ramen noodle budget my servers aren't super fancy Being a server admin with a ramen noodle budget my servers aren't super fancy

View File

@ -1,3 +1,8 @@
---
title: Mapping in Reflex
date: 2018-06-18
draft: false
---
# Mapping Again # Mapping Again
[Link to the map I discuss here](https://steamcommunity.com/sharedfiles/filedetails/?id=1329660201) [Link to the map I discuss here](https://steamcommunity.com/sharedfiles/filedetails/?id=1329660201)

View File

@ -1,3 +1,9 @@
---
title: "Markdown Transpiler Thingy"
date: 2020-07-21
draft: false
---
# Markdown to HTML # Markdown to HTML
A while back I made [gensite](https://gitlab.com/shockrah/site-generator) a static site generator that was built with pandoc users in mind. A while back I made [gensite](https://gitlab.com/shockrah/site-generator) a static site generator that was built with pandoc users in mind.

View File

@ -1,3 +1,8 @@
---
title: "Setting up OBS - for people with better stuff to do"
date: 2021-03-19
draft: false
---
# Setting up OBS - for people with better stuff to do # Setting up OBS - for people with better stuff to do
This is going to be a very casual post so don't expect huge a This is going to be a very casual post so don't expect huge a

View File

@ -1,8 +1,14 @@
---
title: "This time for real"
date: 2018-06-18
draft: false
---
# All done setting up # All done setting up
Finally after some struggling with various git clients and learning to use some new tools the source code for this website is finally up and hosted on Gitlab. Finally after some struggling with various git clients and learning to use some new tools the source code for this website is finally up and hosted on Gitlab.
> [Link to website source code](https://gitlab.com/AlejandroS/shockrah-city)\ > [Link to website source code](https://gitlab.com/shockrah/shockrah-city)\
> *tbf i stiill need to work on the bash script to auto build stuff* > *tbf i stiill need to work on the bash script to auto build stuff*
## Now what? ## Now what?

View File

@ -1,3 +1,8 @@
---
title: "Website Contruction Philosophy"
date: 2018-06-01
draft: false
---
# No Non-free JS here # No Non-free JS here
To explain succintly, I don't like Javascript, especially considering how much power it has on a user's browser. To explain succintly, I don't like Javascript, especially considering how much power it has on a user's browser.

View File

@ -1,3 +1,9 @@
---
title: First Foray into Big Projects
date: 2018-06-25
draft: false
---
# Quake Champions Academy Back from the Dead # Quake Champions Academy Back from the Dead
Finally after nearly a year I've started working on my Quake Chamions Academy project again but this time I have some specific goals in mind besides just, run lots of community events. Finally after nearly a year I've started working on my Quake Chamions Academy project again but this time I have some specific goals in mind besides just, run lots of community events.

View File

@ -1,3 +1,9 @@
---
title: "Qutebrowser is /comfy/"
date: 2018-07-18
draft: false
---
# A Taste of QuteBrowser # A Taste of QuteBrowser
I finally sat down and started fully using [Qutebrowser](https://www.qutebrowser.org/) and to be honest, it's great. I finally sat down and started fully using [Qutebrowser](https://www.qutebrowser.org/) and to be honest, it's great.

View File

@ -1,3 +1,9 @@
---
title: "Rewrites and this site"
date: 2019-05-02
draft: false
---
# Rewrites # Rewrites
## For the sake of rewriting things ## For the sake of rewriting things

View File

@ -1,3 +1,9 @@
---
title: "A Quick Bhop Route Showcase"
date: 2019-10-01
draft: false
---
# Neat Route # Neat Route
_Short post that I've been wanting to make about a run I'm working on_ _Short post that I've been wanting to make about a run I'm working on_

View File

@ -1,3 +1,8 @@
---
title: Segmented Routes
date: 2019-10-02
draft: false
---
# Segmenting & Optimizing Realistic Routes # Segmenting & Optimizing Realistic Routes
Finally after a few weeks of practicing I took some time to segment the route that I've been working on for _bhop_bochadick_. Finally after a few weeks of practicing I took some time to segment the route that I've been working on for _bhop_bochadick_.

View File

@ -1,3 +1,8 @@
---
title: Wot in tarnation happened to the style
date: 2018-09-21
draft: false
---
# Wew lad new colors # Wew lad new colors
It's been about a minute since I've done anything with this site but I figured what better time to randomly post things then now. It's been about a minute since I've done anything with this site but I figured what better time to randomly post things then now.