Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arran4/blog
Github pages blog
https://github.com/arran4/blog
blog hugo
Last synced: about 1 month ago
JSON representation
Github pages blog
- Host: GitHub
- URL: https://github.com/arran4/blog
- Owner: arran4
- Created: 2022-04-21T06:01:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T04:53:01.000Z (8 months ago)
- Last Synced: 2024-11-14T03:31:32.332Z (3 months ago)
- Topics: blog, hugo
- Language: HTML
- Homepage: https://arran4.github.io/blog/
- Size: 13.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blog
I guess always under development.
Found at:
https://arran4.github.io/blog/
## Random notes / snippets
### Create a new post
```bash
read -p "Post Title? " PostTitle && hugo new -k post "post/$(date +%Y)/$(printf "%03d" $(($(find content/post/$(date +%Y) -mindepth 1 -maxdepth 1 -type d | wc -l )+1)))-$PostTitle"
``````zsh
echo "Post Title? " && read PostTitle && hugo new -k post "post/$(date +%Y)/$(printf "%03d" $(($(find content/post/$(date +%Y) -mindepth 1 -maxdepth 1 -type d | wc -l )+1)))-$PostTitle"
```### Date in right format
```bash
date --rfc-3339=sec
```