Skip to content

Aryamanz29/posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

64 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Posts πŸ“

Blogging seems easy with github 🀩

A Headless CMS (Github theme) using Hugo, Github Issues and Github Actions.

github-actions-png github-actions-png

-------------------------------------------------------------

Features πŸ“Έ

Add Blog Posts ✏

This is very simple process, You only need to create an issue using create-a-post issue template.

Screenshot from 2021-12-06 00-14-49

Screenshot from 2021-12-06 00-14-53

Edit Blog Posts πŸ“Ž

Screenshot from 2021-12-06 00-16-56

Remove Blog Posts ❌

Just simply close that issue, See how easy is it πŸ™ƒ

Screenshot from 2021-12-06 00-19-02

Preview Blog Posts 🎬

Screenshot from 2021-12-06 00-17-04

Organize Blog Posts πŸ“š

You could either pin your posts to the home page or simple push that all posts page.

You only need to set pin: true/false in the issue template.

Screenshot from 2021-12-06 00-27-43

-------------------------------------------------------------

Configuration πŸ› 

If you want to add this CMS in your repo , Do below steps ⬇

1.Clone this repo πŸ“₯

git clone https://github.com/Aryamanz29/posts.git

2.Change config.toml ✏

Just replace YOUR_GITHUB_USERNAME = Your github username YOUR_REPO_NAME = Repository name

baseURL = "https://YOUR_GITHUB_USERNAME.github.io/YOUR_REPO_NAME"
languageCode = "en-us"
title = "Aryaman's blog"
theme = "github-style"

[params]
  author = "YOUR_NAME"
  description = "Blogs by Aryamanz29 πŸ‘¨β€πŸ’», Built with Github Actions πŸš€"
  github = "Aryamanz29"
  #facebook = ""
  twitter = "AryamanZ29"
  linkedin = "aryamanz29"
  instagram = "aryaman_z29"
  email = "[email protected]"
  url = "https://aryamanz29.github.io/"
  lastmod = true
  userStatusEmoji = "🌠"
  favicon = "/posts/images/github.png"
  location = "India"
  
[frontmatter]
  lastmod = ["lastmod", ":fileModTime", ":default"]

3. Change workflow files πŸ“‹

  • create-issue-posts.yml Line 36:
hugo -D -b https://YOUR_GITHUB_USERNAME.github.io/YOUR_REPO_NAME/ -t github-style
  • remove-issue-posts.yml Line 31:
hugo -D -b https://YOUR_GITHUB_USERNAME.github.io/YOUR_REPO_NAME/ -t github-style
  1. And don't forgot to add this hugo theme and run local dev server to check everthing working as expected.
cd themes/
rm -rf github-style/
git clone https://github.com/MeiK2333/github-style.git
cd ..
hugo serve

-------------------------------------------------------------