Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
b1ek | 965e6bbdeb | |
b1ek | 53d6e78e8d | |
b1ek | e3f013c572 | |
b1ek | 79785ce53a | |
b1ek | ab24d9eb3d |
12
README.md
12
README.md
|
@ -37,3 +37,15 @@ $ zola serve
|
|||
|
||||
...as per [zola docs](https://www.getzola.org/documentation/getting-started/overview)
|
||||
|
||||
## how to disable loading
|
||||
go to `content/index.md`, and in the `+++` blocks, set `extra.noload` to `true`.
|
||||
|
||||
like this:
|
||||
```toml
|
||||
+++
|
||||
title = "Welcome"
|
||||
|
||||
[extra]
|
||||
noload = true
|
||||
+++
|
||||
```
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
+++
|
||||
template = 'custom/blog-post.html'
|
||||
|
||||
title = 'It aired!'
|
||||
description = 'yaaay'
|
||||
date = '2024-01-14'
|
||||
slug = 'it-aired'
|
||||
year = 2024
|
||||
month = 1
|
||||
day = 14
|
||||
lang = 'en'
|
||||
|
||||
[extra]
|
||||
author = 'b1ek <me@blek.codes>'
|
||||
|
||||
+++
|
||||
|
||||
The new website is aired at [blek.codes](https://blek.codes)! Yaaay
|
||||
|
||||
FYI, almost everything I make is open source (with this website being no exception), so heres the [git repo](https://git.blek.codes/blek/world.git) for yall in case you wanna see whats under the hood.
|
||||
|
||||
## What's new?
|
||||
1. A funny vaporwave-like redesign
|
||||
2. The website is fully static - you can even download it via smth like `wget -r`
|
||||
3. Its fully NO-JS!! I mean, the previous versions were NOJS as well, but still its pretty awesome.
|
||||
|
||||
Also there won't be any guestbook for a while since as i mentioned before, this stack is fully static - basically just a bunch of .HTML files.
|
|
@ -1,21 +0,0 @@
|
|||
+++
|
||||
template = 'custom/blog-post.html'
|
||||
|
||||
title = 'Lbh ner fhpu n areq yznb'
|
||||
description = 'ebgguvegrra vf fb shaal'
|
||||
date = '2024-02-08'
|
||||
slug = 'ebgguvegrra'
|
||||
year = 2024
|
||||
month = 2
|
||||
day = 8
|
||||
lang = 'en'
|
||||
|
||||
[extra]
|
||||
author = 'b1ek <me@blek.codes>'
|
||||
+++
|
||||
|
||||
# v unq fbzr cnapnxrf gbqnl
|
||||
lbhxabj, gurbarfjvguvprpernzbagurz.
|
||||
|
||||
vzwhfgsbbyvatnebhaqgb znxrcrbcyrguvaxvgffbzrjrveqnffenaqbz yrggref :3 fblrnuunir shayznb
|
||||
fb huz qb lbh xabj jung qbrf vqx, yl naq ggly zrna?
|
|
@ -1,33 +0,0 @@
|
|||
+++
|
||||
template = 'custom/blog-post.html'
|
||||
|
||||
title = 'youll be eclair, ill be life'
|
||||
description = 'a few phylosophical thoughts'
|
||||
date = '2024-01-28'
|
||||
slug = 'eclair-life'
|
||||
year = 2024
|
||||
month = 1
|
||||
day = 28
|
||||
lang = 'en'
|
||||
|
||||
# [taxonomies]
|
||||
# tags = ["showerthoughts"]
|
||||
|
||||
[extra]
|
||||
author = 'b1ek <me@blek.codes>'
|
||||
+++
|
||||
|
||||
<p align='center'>
|
||||
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/gNxFGHsEMUI?si=cloIuWNCp__637NV" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
|
||||
</p>
|
||||
|
||||
i mean, it is such a simple fucking truth coming from a kids tv show.
|
||||
it took me so long to realise that you don't moan about problems: you kick them in the butt, as hard as you can.
|
||||
|
||||
afterall, what is stopping you? like, imagine if you want to get the best job ever, but you don't think that you will pass the test so you dont apply at all.
|
||||
|
||||
but the thing is, nothing actually stopped you from applying. like, you may get rejected, and so what? you may have like a 0.1% chance of actually getting the job, you might just as well get it. as long as the chance exists, no matter how small it is or how small it may seem, the job is worth applying for.
|
||||
|
||||
my point is you can easily waste all of your life lurking because you are too afraid of getting rejected or whatever. the question is, do you want to waste your life being afraid? personally, i wouldn't. i would kick life in the butt when it gives me a hard time. and you should too, unknown stranger.
|
||||
|
||||
just remember this: it doesnt hurt to try. ever.r
|
|
@ -1,30 +0,0 @@
|
|||
+++
|
||||
template = 'custom/blog-post.html'
|
||||
|
||||
title = 'My idea about the guestbook'
|
||||
description = 'The best way to create a guestbook in a static html project'
|
||||
date = '2024-01-12'
|
||||
slug = 'gb-idea'
|
||||
year = 2024
|
||||
month = 1
|
||||
day = 12
|
||||
lang = 'en'
|
||||
|
||||
[extra]
|
||||
author = 'b1ek <me@blek.codes>'
|
||||
+++
|
||||
|
||||
# In short...
|
||||
You might know that my website [used to have a guestbook](https://old-1.blek.codes/guestbook) (at the moment of writing this article), and it was relatively easy to implement since the whole thing used to run on express.js and a bunch of databases.
|
||||
|
||||
# The problem
|
||||
|
||||
Thing is, the current version of the website (the one you are browsing right now) is written in [Zola](https://getzola.org), which compiles into a bunch of static .HTML files.
|
||||
This is obviously good in terms of server costs and performance, but isn't very good when you need to add interactive shit like guestbooks, statistics and stuff.
|
||||
|
||||
I mean, I could've chosen literally any other framework when i was doing the rewrite - SvelteKit, Rust+Warp, hell, even Laravel: basically anything that supports server side HTML rendering. But i kinda want to do this one completely static.
|
||||
|
||||
# Possible solutions
|
||||
Well, the first one and the most obvious one is to not to have a guestbook. It is pretty hard to filter out the spam and overall its kind of not worth the trouble.
|
||||
|
||||
However, i still want for y'all to leave a message here so im jumping to solution 2: Create a separate docker service or smth that handles POST forms and serves the data.
|
|
@ -3,15 +3,15 @@ template = 'custom/blog-post.html'
|
|||
|
||||
title = 'Hi!'
|
||||
description = 'First post here!'
|
||||
date = '2024-01-08'
|
||||
date = '2024-03-03'
|
||||
slug = 'hi'
|
||||
year = 2024
|
||||
month = 1
|
||||
day = 8
|
||||
month = 3
|
||||
day = 3
|
||||
lang = 'en'
|
||||
|
||||
[extra]
|
||||
author = 'b1ek <me@blek.codes>'
|
||||
author = 'author person <author@author-writing-people.com>'
|
||||
+++
|
||||
|
||||
Hey, this is the first post here! We'll se how it goes from there.
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
+++
|
||||
template = 'custom/blog-post.html'
|
||||
|
||||
title = 'a few thoughts about life'
|
||||
description = 'i am very gay and depressed'
|
||||
date = '2024-02-23'
|
||||
slug = 'life'
|
||||
year = 2024
|
||||
month = 2
|
||||
day = 23
|
||||
lang = 'en'
|
||||
|
||||
[extra]
|
||||
author = 'b1ek <me@blek.codes>'
|
||||
+++
|
||||
|
||||
to be honestly, the only thing i ever want to do with my life is to sit my whole life in some dense place like berlin or something, sit at coffee shops with my friends, talk about stuff and maybe do some hacktivist stuff.
|
||||
would be really nice to do something really big (kinda like mr robot, iykyk)
|
||||
|
||||
i dont think i could make it, but might as well try.
|
||||
|
||||
also it would be fun to go on a date to some abandoned building ^^ i really like the aesthetic and stuff
|
||||
|
||||
btw, i dont think that my death protcol would actually work. like, it might but it probably simply won't. i really need to rethink it. maybe rebuild it so it would be simple as fuck. i dont know
|
||||
|
||||
i feel like i should re arrange the stuff on the index page.
|
Binary file not shown.
After Width: | Height: | Size: 2.0 MiB |
|
@ -26,7 +26,7 @@
|
|||
|
||||
{% block content %} {% endblock %}
|
||||
|
||||
<p style='font-size:80%;text-align:center;margin-top:120px;height:120px'>
|
||||
<p style='font-size:80%;text-align:center;margin-top:80px;height:120px'>
|
||||
Background credit to
|
||||
<a style='color:gray !important' href="https://tenor.com/view/retro-aesthetic-gif-19478658">
|
||||
tenor
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
{% block root %}
|
||||
|
||||
{% if page.extra.noload %}
|
||||
<div class='screen fader'>
|
||||
<p>
|
||||
<img src='/load.gif' width='46px' height='48px' style='margin-bottom:8px' /><br/>
|
||||
|
@ -28,5 +29,6 @@
|
|||
</span>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock root %}
|
|
@ -0,0 +1,18 @@
|
|||
name = "otherworld"
|
||||
description = "Vaporwave aesthetic theme"
|
||||
license = "GPL-3-only"
|
||||
homepage = "https://git.blek.codes/blek/otherworld"
|
||||
min_version = "0.1.0"
|
||||
demo = "https://world.blek.codes"
|
||||
|
||||
[extra]
|
||||
|
||||
[author]
|
||||
name = "blek!"
|
||||
homepage = "https://blek.codes"
|
||||
|
||||
[original]
|
||||
author = "blek!"
|
||||
homepage = "https://blek.codes"
|
||||
repo = "https://git.blek.codes/blek/world"
|
||||
|
Loading…
Reference in New Issue