https://github.com/aryamanz29/posts
Blogging seems easy with github actions 🤩
https://github.com/aryamanz29/posts
blog blogging blogpost github github-actions github-pages hugo hugo-blog-theme hugo-theme
Last synced: 4 months ago
JSON representation
Blogging seems easy with github actions 🤩
- Host: GitHub
- URL: https://github.com/aryamanz29/posts
- Owner: Aryamanz29
- License: mit
- Created: 2021-12-04T16:12:57.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-18T22:07:53.000Z (over 3 years ago)
- Last Synced: 2025-04-10T20:53:31.146Z (7 months ago)
- Topics: blog, blogging, blogpost, github, github-actions, github-pages, hugo, hugo-blog-theme, hugo-theme
- Language: HTML
- Homepage: https://aryamanz29.github.io/posts/
- Size: 1.08 MB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Posts 📝
_Blogging seems easy with github 🤩_
A Headless CMS [(Github theme)](https://github.com/MeiK2333/github-style) using [Hugo](https://gohugo.io/), Github Issues and [Github Actions.](https://github.com/features/actions)

## Features 📸
### Add Blog Posts ✏
This is very simple process, You only need to create an [issue](https://github.com/Aryamanz29/posts/issues/new/choose) using [create-a-post](https://github.com/Aryamanz29/posts/blob/master/.github/ISSUE_TEMPLATE/create-a-post.md) issue template.


### Edit Blog Posts 📎

### Remove Blog Posts ❌
Just simply close that issue, See how easy is it 🙃

### Preview Blog Posts 🎬

### Organize Blog Posts 📚
You could either **pin** your posts to the [home page](https://aryamanz29.github.io/posts/) or simple push that [all posts page](https://aryamanz29.github.io/posts//post/).
You only need to set `pin: true/false` in the issue template.


## Configuration 🛠
If you want to add this CMS in your repo , Do below steps ⬇
#### 1.Clone this repo 📥
```bash
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
```toml
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 = "aryamanz29@gmail.com"
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**:
```yml
hugo -D -b https://YOUR_GITHUB_USERNAME.github.io/YOUR_REPO_NAME/ -t github-style
```
- `remove-issue-posts.yml` **Line 31**:
```yml
hugo -D -b https://YOUR_GITHUB_USERNAME.github.io/YOUR_REPO_NAME/ -t github-style
```
4. And don't forgot to add [this](https://github.com/MeiK2333/github-style) hugo theme and run local dev server to check everthing working as expected.
```bash
cd themes/
rm -rf github-style/
git clone https://github.com/MeiK2333/github-style.git
cd ..
hugo serve
```
