Compare commits
2 commits
205a242ef4
...
1269f17f57
Author | SHA1 | Date | |
---|---|---|---|
1269f17f57 | |||
fa44f4eb7d |
2 changed files with 29 additions and 1 deletions
17
Makefile
17
Makefile
|
@ -1,4 +1,19 @@
|
|||
.PHONY: server
|
||||
.PHONY: server new-post
|
||||
|
||||
server:
|
||||
hugo server
|
||||
|
||||
new-post:
|
||||
@YEAR=$$(date +%Y); \
|
||||
MONTH=$$(date +%m); \
|
||||
DAY=$$(date +%d); \
|
||||
POST_DIR="content/blog/$$YEAR/$$MONTH/$$DAY/dummy"; \
|
||||
mkdir -p "$$POST_DIR"; \
|
||||
echo "+++" > "$$POST_DIR/index.md"; \
|
||||
echo "title = Dummy Post" >> "$$POST_DIR/index.md"; \
|
||||
echo "date = $$(date +%Y-%m-%d)" >> "$$POST_DIR/index.md"; \
|
||||
echo "draft = false" >> "$$POST_DIR/index.md"; \
|
||||
echo "+++" >> "$$POST_DIR/index.md"; \
|
||||
echo "" >> "$$POST_DIR/index.md"; \
|
||||
echo "Content goes here" >> "$$POST_DIR/index.md"; \
|
||||
echo "Created new post at $$POST_DIR/index.md"
|
||||
|
|
13
content/blog/2025/04/03/new-projects-section/index.md
Normal file
13
content/blog/2025/04/03/new-projects-section/index.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
+++
|
||||
title = "New projects section"
|
||||
date = 2025-04-03
|
||||
tags = ["blog", "projects"]
|
||||
+++
|
||||
|
||||
Small update!
|
||||
|
||||
From the huge backlog of tasks I have in store for the site: I've added a new sections for the project I'm currently maintaining.
|
||||
|
||||
This will not only give them a bit of visibility, but also help me keep track of the projects I'm currently working on and consider **active**.
|
||||
|
||||
You can find the new section at [/projects](/projects).
|
Loading…
Add table
Add a link
Reference in a new issue