1
0

Compare commits

...

4 Commits

Author SHA1 Message Date
06309540dd
Ignore branding folder 2021-11-15 19:13:23 -08:00
b973e0359d
Blog: Add Linux rant 2021-11-15 19:12:53 -08:00
d0aee175ea
Blog: Don't show footnotes in post preview
This is the worst solution I possible could've done for this.
2021-11-15 00:05:04 -08:00
c9f100c6d8
Blog: Do not include hidden posts in list limit 2021-11-15 00:03:05 -08:00
4 changed files with 67 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
ftp_url.txt
music/*
static/woff/*
static/brand/*
dist/
temp/
wip/

View File

@ -0,0 +1,62 @@
template: post
title: Why I use Linux
author: flewkey
timestamp: 1636929506
visibility: hidden
This is not a standard blog post, but a hidden FAQ which answers the common
questions I get about running Linux on my laptop.
----
## Normal FAQ
#### Why do you use Linux?
- Package management
- Proper tiling window management
- Inter-application audio routing via PipeWire or JACK
- Supports all of the programs that I care about
#### Why do you hate Windows?
- Windows Update
- Annoying build toolchains
- Lack of inter-application audio routing without specialized tools
- Spontaneous combustion
#### Should I switch to Linux?
Probably not. Use whatever suits you best.
----
## Cynical nerd FAQ
#### Isnt desktop Linux a mess?
It isnt _great_, but it works well enough for me.
#### Isnt it tedious to use?
I find it quite comfortable, personally.
#### Do you have to spend hours tweaking your system to make it work?
My “tweaks” congealed over time. If you sit on a chair for a long time, it will
mold to the shape of your butt. If you use a computer for a long time, it will
fit your preferences eventually.
#### Dont you run into all sorts of issues?
Most of the software that I use seems to run well.
#### Doesnt it spontaneously break?
Linux systems are chock full of footguns. Experienced users can avoid these,
but everyone else is walking on a minefield as far as Im concerned. One dude
destroyed his desktop environment by installing Steam.
[Seriously](https://youtu.be/0506yDSgU7M?t=620).[^1]
[^1]: Although this was a result of poor quality assurance on the distributions
package repository, the point is that these mistakes are easy to make.

View File

@ -17,7 +17,7 @@ def gen_list(files, ext, limit=-1, mini=False):
if "visibility" not in md.Meta or md.Meta["visibility"] == "hidden":
md.Meta["template"] = "post_preview" if not mini else "post_preview_mini"
items += template(escape_braces(html), "blog/"+post[:-3]+ext, ext, md.Meta)
i += 1
i += 1
if limit >= 0 and i >= limit:
break;
return items

View File

@ -6,7 +6,9 @@ from datetime import datetime
from email import utils
def remove_tags(text):
return re.sub(re.compile('<.*?>'), "", text)
text = re.sub(re.compile('>[0-9]<'), "", text)
text = re.sub(re.compile('<.*?>'), "", text)
return text
def get_path(path, ext_in, ext_out):
path = path[len("pages"):]