diff --git a/web/__pycache__/pelicanconf.cpython-310.pyc b/web/__pycache__/pelicanconf.cpython-310.pyc index c383d5c..2cbec3c 100644 Binary files a/web/__pycache__/pelicanconf.cpython-310.pyc and b/web/__pycache__/pelicanconf.cpython-310.pyc differ diff --git a/web/content/tags/ein_hod_01.md b/web/content/tags/ein_hod_01.md index 506fd96..74fc54b 100644 --- a/web/content/tags/ein_hod_01.md +++ b/web/content/tags/ein_hod_01.md @@ -1,7 +1,6 @@ -Slug: e8229 +Title: Entry 1 Date: 2023-04-12 Category: Blue Eyed Donkey -Title: Entry 1 Location: 32.70124169424201, 34.9805500394171 I noticed a peculiar sensation in the air as soon as I arrived in town. It was as if an electric charge was coursing through the air beneath the pastoral tranquillity, making me nervous. I looked around, but there was no one to be found. The faint odor of decay lingered around me, mingled with the sweet fragrance of incense. The mix made me feel uneasy, like if I'd stepped into a strange, surreal dream. \ No newline at end of file diff --git a/web/nfc-theme/templates/index.html b/web/nfc-theme/templates/index.html index b5921fb..27e4131 100644 --- a/web/nfc-theme/templates/index.html +++ b/web/nfc-theme/templates/index.html @@ -9,7 +9,7 @@

- {{ article.title }} + {{ article.title }}

{{ article.summary }}
@@ -17,5 +17,5 @@ {% endfor %} {% include 'pagination.html' %} - + {% endblock content %} diff --git a/web/output/projects/blue-eyed-donkey/index.html b/web/output/projects/blue-eyed-donkey/index.html index c8d8f01..e3c5bbf 100644 --- a/web/output/projects/blue-eyed-donkey/index.html +++ b/web/output/projects/blue-eyed-donkey/index.html @@ -15,13 +15,13 @@

- Entry 1 + Entry 1

- + \ No newline at end of file diff --git a/web/output/projects/index.html b/web/output/projects/index.html index 8d7a1ff..f4733cc 100644 --- a/web/output/projects/index.html +++ b/web/output/projects/index.html @@ -9,7 +9,7 @@ diff --git a/web/output/e8229.html b/web/output/svbfh1049ck/index.html similarity index 100% rename from web/output/e8229.html rename to web/output/svbfh1049ck/index.html diff --git a/web/output/tags/index.html b/web/output/tags/index.html index 48fccf1..2f96f5a 100644 --- a/web/output/tags/index.html +++ b/web/output/tags/index.html @@ -14,13 +14,13 @@

- Entry 1 + Entry 1

- + \ No newline at end of file diff --git a/web/pelicanconf.py b/web/pelicanconf.py index 26f51d6..d362fd5 100644 --- a/web/pelicanconf.py +++ b/web/pelicanconf.py @@ -34,8 +34,8 @@ MARKDOWN = { } } -ARTICLE_URL = "{slug}.html" -ARTICLE_SAVE_AS = "{slug}.html" +ARTICLE_URL = "{slug}" +ARTICLE_SAVE_AS = "{slug}/index.html" INDEX_SAVE_AS = "tags/index.html" ARCHIVES_SAVE_AS = '' AUTHOR_SAVE_AS = '' @@ -51,7 +51,7 @@ DEFAULT_DATE_FORMAT = '%Y-%m-%d' DEFAULT_CATEGORY = 'tag' CATEGORIES_SAVE_AS = 'projects/index.html' -CATEGORY_URL = 'projects/{slug}/index.html' +CATEGORY_URL = 'projects/{slug}' CATEGORY_SAVE_AS = 'projects/{slug}/index.html' DELETE_OUTPUT_DIRECTORY = True diff --git a/web/plugins/geohash/__pycache__/geohash.cpython-310.pyc b/web/plugins/geohash/__pycache__/geohash.cpython-310.pyc index 8d7d0ad..f212e42 100644 Binary files a/web/plugins/geohash/__pycache__/geohash.cpython-310.pyc and b/web/plugins/geohash/__pycache__/geohash.cpython-310.pyc differ diff --git a/web/plugins/geohash/geohash.py b/web/plugins/geohash/geohash.py index a8d1e79..fa8589d 100644 --- a/web/plugins/geohash/geohash.py +++ b/web/plugins/geohash/geohash.py @@ -7,6 +7,7 @@ def generate_geohash(generator): lat, lon = [float(i) for i in article.metadata['location'].replace(' ', '').split(',')] article.metadata['latlon'] = article.metadata['location'].replace(' ', '') article.metadata['geohash'] = gh.encode(lat, lon, 11) + article.slug = gh.encode(lat, lon, 11) def register(): signals.article_generator_finalized.connect(generate_geohash) \ No newline at end of file