locations
This commit is contained in:
parent
a857ddfe54
commit
2fbf52dc2c
10 changed files with 6 additions and 95 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
Title: Journal Entry 04
|
Title: Journal Entry 04
|
||||||
Date: 2023-04-12
|
Date: 2023-04-12
|
||||||
Category: Blue Eyed Donkey
|
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?
|
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?
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
Title: Journal Entry 09
|
Title: Journal Entry 09
|
||||||
Date: 2023-04-12
|
Date: 2023-04-12
|
||||||
Category: Blue Eyed Donkey
|
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.
|
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.
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
Title: Journal Entry 12
|
Title: Journal Entry 12
|
||||||
Date: 2023-04-12
|
Date: 2023-04-12
|
||||||
Category: Blue Eyed Donkey
|
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...
|
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...
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Title: Journal Entry 13
|
Title: Journal Entry 13
|
||||||
Date: 2023-04-12
|
Date: 2023-04-12
|
||||||
Category: Blue Eyed Donkey
|
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.
|
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.
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
Title: Journal Entry 14
|
Title: Journal Entry 14
|
||||||
Date: 2023-04-12
|
Date: 2023-04-12
|
||||||
Category: Blue Eyed Donkey
|
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.
|
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.
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
Title: Journal Entry 15
|
Title: Journal Entry 15
|
||||||
Date: 2023-04-12
|
Date: 2023-04-12
|
||||||
Category: Blue Eyed Donkey
|
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.
|
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.
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{% extends "base.mu" %}
|
|
||||||
{% block content %}
|
|
||||||
-
|
|
||||||
{{ article.content }}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
>{% block title %}{{ SITENAME }}{% endblock title %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% if DESCRIPTION %}
|
|
||||||
-
|
|
||||||
{{ DESCRIPTION }}
|
|
||||||
-
|
|
||||||
{% endif %}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
from .micron import *
|
|
||||||
|
|
@ -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)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue