diff --git a/web/content/tags/ein_hod_04.md b/web/content/tags/ein_hod_04.md index 66412e9..164a727 100644 --- a/web/content/tags/ein_hod_04.md +++ b/web/content/tags/ein_hod_04.md @@ -1,6 +1,6 @@ Title: Journal Entry 04 Date: 2023-04-12 Category: Blue Eyed Donkey -Location: 32.70124169424201, 34.9805500394171 +Location: 32.701774, 34.981694 The festival of the Golden Calf is approaching, and the whole town is buzzing with anticipation. People are putting up decorations, building strange sculptures and practicing music for the big day. I can feel the excitement among the locals, but I'm not sure what to expect. I can't help but wonder that there might be more to this event than the obvious spectacle that tourists like myself are made to participate in. Maybe it is all a distraction from something else? \ No newline at end of file diff --git a/web/content/tags/ein_hod_09.md b/web/content/tags/ein_hod_09.md index 8487681..d6da8d3 100644 --- a/web/content/tags/ein_hod_09.md +++ b/web/content/tags/ein_hod_09.md @@ -1,5 +1,6 @@ Title: Journal Entry 09 Date: 2023-04-12 Category: Blue Eyed Donkey +Location: 32.699849, 34.985006 I delved deep into researching the world of Dada. The absurdity and chaos, the rejection of societal norms and values, the questioning of reality itself -- all of it seems to be reflected in what is happening around this town. Is it possible that this is all part of a grand scheme, orchestrated by some unseen force? The more I learn, I'm starting to wonder if it is just my imagination or if I am being manipulated. \ No newline at end of file diff --git a/web/content/tags/ein_hod_12.md b/web/content/tags/ein_hod_12.md index 74af623..f656118 100644 --- a/web/content/tags/ein_hod_12.md +++ b/web/content/tags/ein_hod_12.md @@ -1,5 +1,6 @@ Title: Journal Entry 12 Date: 2023-04-12 Category: Blue Eyed Donkey +Location: 32.702107, 34.982306 The paranoia is really starting to set in. I can't trust anyone, not even myself. I keep having these vivid nightmares and I'm starting to lose track of what's real and what's just my imagination. I'm afraid that if I stay here much longer, I'll never be able to leave. I've decided to take the bus tomorrow morning. I don't care if I never figure out what's really going on here. I just want to get as far away from this place as possible. I packed my bags already this afternoon, ready to leave. But when I opened my door, I found a blue-eyed donkey standing outside. It just stared at me with those piercing blue eyes... \ No newline at end of file diff --git a/web/content/tags/ein_hod_13.md b/web/content/tags/ein_hod_13.md index 7624330..5c0c953 100644 --- a/web/content/tags/ein_hod_13.md +++ b/web/content/tags/ein_hod_13.md @@ -1,6 +1,6 @@ Title: Journal Entry 13 Date: 2023-04-12 Category: Blue Eyed Donkey -Location: 32.702031, 34.98015 +Location: 32.701444, 34.983917 The Prophet's cave holds the key to unlocking the mysteries of this land. I can feel his presence all around me, a guiding force that leads me closer to my goal. The whispers of the wind seem to carry his words, and I know that I am on the right path. It was as if the very caves themselves are parts of a musical instrument, waiting to be played. The Prophet's words echoed off the walls like a symphony, and I myself was part of his grand composition. It was a tune that I couldn't get out of my head, a melody that danced through the caves and into my soul. \ No newline at end of file diff --git a/web/content/tags/ein_hod_14.md b/web/content/tags/ein_hod_14.md index 2c2a673..e8fc153 100644 --- a/web/content/tags/ein_hod_14.md +++ b/web/content/tags/ein_hod_14.md @@ -1,5 +1,6 @@ Title: Journal Entry 14 Date: 2023-04-12 Category: Blue Eyed Donkey +Location: 32.701393, 34.981468 I dove deep into the thorn-laden thicket, my mind ablaze with the key that glimmered in my hand. The path twisted and turned like a demented serpent, the air grew thick and syrupy, like molasses infused with the scent of ancient secrets. And then, there he was. Sunday, the prophet of madness, stood before me, surrounded by his infernal machines and writhing in a fevered frenzy. I could feel the music coursing through my veins, like a thousand squirming worms uncoiling in a never-ending dance. They spoke to me in tongues unknown, and I felt my mind unraveling like a ball of yarn caught in a hurricane. And then, in a blinding flash of light and sound, the world was reborn in a symphony of chaos and destruction. \ No newline at end of file diff --git a/web/content/tags/ein_hod_15.md b/web/content/tags/ein_hod_15.md index afd138a..f60d267 100644 --- a/web/content/tags/ein_hod_15.md +++ b/web/content/tags/ein_hod_15.md @@ -1,5 +1,6 @@ Title: Journal Entry 15 Date: 2023-04-12 Category: Blue Eyed Donkey +Location: 32.702107, 34.982306 I need to leave this place, but I fear I won't make it out alive. They are everywhere, and I don't know who I can trust. Even my own mind feels like it's turning against me, taunting me with visions of things I can't explain. I need to find a way out, but it feels like I'm trapped in a nightmare. I must leave. I must escape. I must run. I must forget. I must burn this journal. I must burn this memory. I must burn this music. I must burn this reality. I must burn myself. I must be reborn. I must be free. \ No newline at end of file diff --git a/web/nfc-theme/templates/article.mu b/web/nfc-theme/templates/article.mu deleted file mode 100644 index c2d40b1..0000000 --- a/web/nfc-theme/templates/article.mu +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.mu" %} -{% block content %} -- -{{ article.content }} -{% endblock %} diff --git a/web/nfc-theme/templates/base.mu b/web/nfc-theme/templates/base.mu deleted file mode 100644 index e7bb2e3..0000000 --- a/web/nfc-theme/templates/base.mu +++ /dev/null @@ -1,10 +0,0 @@ ->{% block title %}{{ SITENAME }}{% endblock title %} - -{% block content %} -{% endblock %} - -{% if DESCRIPTION %} -- -{{ DESCRIPTION }} -- -{% endif %} diff --git a/web/plugins/micron/__init__.py b/web/plugins/micron/__init__.py deleted file mode 100644 index 5e48b24..0000000 --- a/web/plugins/micron/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from .micron import * \ No newline at end of file diff --git a/web/plugins/micron/micron.py b/web/plugins/micron/micron.py deleted file mode 100644 index 073e6ec..0000000 --- a/web/plugins/micron/micron.py +++ /dev/null @@ -1,77 +0,0 @@ -from pelican import signals -from jinja2 import Environment, FileSystemLoader -import os -from pprint import pprint -import mistune -import re - -class Markdown2Micron(mistune.HTMLRenderer): - def text(self, text) -> str: - return text - def emphasis(self, text: str) -> str: - return '`*' + text + '`*' - def strong(self, text: str) -> str: - return '`!' + text + '`!' - def codespan(self, text: str) -> str: - return '`=' + text + '`=' - def heading(self, text, level, **attrs) -> str: - if level > 3: - level = 3 - return '>' * level + text + '\n' - def link(self, text: str, url: str, title=None) -> str: - s = self.safe_url(url) - if text: - s = text + '`' + s - return f'`[{s}]' - def image(self, text: str, url: str, title=None) -> str: - s = self.safe_url(url) - if title: - s = title + '`' + s - return f'`[{s}]' - def blank_line(self) -> str: - return '' + '\n' - def linebreak(self) -> str: - return '\n' - def softbreak(self) -> str: - return '\n' - def inline_html(self, html: str) -> str: - return '`=\n' + html + '`=\n' - def thematic_break(self): - return '-' + '\n' - def paragraph(self, text): - return text + '\n' - def block_quote(self, text: str) -> str: - return '>>>>' + text - def list(self, text: str, ordered: bool, **attrs) -> str: - return text + '\n' - def list_item(self, text: str) -> str: - return '+ ' + text + '\n' - def block_code(self, code: str, info=None) -> str: - return '`=\n' + code + '`=\n' - -def generate_micron(generator): - # print(markdown_content) - template_path = os.path.join(generator.settings.get('THEME'), 'templates') - out_path = generator.settings.get('MICRON_PATH', 'micron/') - environment = Environment(loader=FileSystemLoader(template_path)) - if not os.path.exists(out_path): - os.mkdir(out_path) - for obj in generator.articles: - with open(str(obj), 'r') as mdf: - raw = mdf.read() - print(raw.split('\n')) - nometa = [re.sub(r'(\w+):\s*(?:"([^"]*)"|(.+))$', '', line) for line in raw.split('\n')] - raw = '\n'.join([item for item in nometa if item]) - # to do: put raw content into context - filename = obj.slug + ".mu" - template = environment.get_template( obj.template + '.mu') - context = dict() - context.update({ 'article' : obj }) - context.update(obj.settings) - content = template.render(context) - output_micron = os.path.join(out_path, filename) - with open(output_micron, 'w') as mf: - mf.write(raw) - -def register(): - signals.article_generator_finalized.connect(generate_micron) \ No newline at end of file