New micro

This commit is contained in:
Fundor333
2025-01-18 12:17:59 +01:00
parent 8b1761b74d
commit 73d41b22a5
5 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
---
title: "The Little Thing"
date: 2025-01-18T12:11:23+01:00
description: Sometime the little things are the best one
tags:
categories:
reply:
repost:
like:
rsvp:
bookmark:
---
![little things](little_things.png)
Sometime the best things are the little things like some comment under your photo (in my free time I am a photographer)
#littlethings #microblogging

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@@ -32,8 +32,8 @@ def micro_fc():
month = str(datetime.datetime.now().month)
generated = f"{year.ljust(4,"0")}/{month.ljust(2,"0")}/{name.replace(' ', '-').replace(',', '').lower()}"
os.system(f"hugo new micro/{generated}.md")
print(f"Generated {generated}.md")
os.system(f"hugo new micro/{generated}/index.md")
print(f"Generated {generated}/index.md")
ANSWER = {"post": post_fc, "micro": micro_fc, 'photo': post_photo, 'redirect': post_redirect}