markdown 2

main
Syed Zayyan Masud 2 years ago
parent 774bab5e92
commit a02c1a2404

@ -0,0 +1,35 @@
env:
ZOLA_VERSION: "0.16.1"
SOURCE_BRANCH: "main"
TARGET_BRANCH: "gh-pages"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Install zola
run: |
set -x
wget -O - \
"https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" \
| sudo tar xzf - -C /usr/local/bin
- name: Generate HTML & CNAME
run: |
zola build
- name: Deploy to gh-pages
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', env.SOURCE_BRANCH) }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
force_orphan: true

@ -1,13 +1,19 @@
# Shadharon
Simple blog theme powered by [Zola](getzola.org). See a live preview [here](https://github.com/syedzayyan/shadharon).
Simple blog theme powered by [Zola](getzola.org). See a live preview [here](https://syedzayyan.github.io/shadharon).
> Name derived from the Bengali Word - সাধারণ which translates to "generic"
<details open>
<summary>Dark theme</summary>
![blog-dark]()
![blog-dark](https://raw.githubusercontent.com/syedzayyan/shadharon/main/screenshot-dark.png)
</details>
<details close>
<summary>Light theme</summary>
![light-dark](https://raw.githubusercontent.com/syedzayyan/shadharon/main/screenshot-light.png)
</details>
## Features
@ -20,9 +26,11 @@ Simple blog theme powered by [Zola](getzola.org). See a live preview [here](http
## Installation
0. Initialize Git Repo if not initialized
1. Download the theme
```
git submodule add xxxxx themes/apollo
git submodule add https://github.com/syedzayyan/shadharon themes/shadharon
```
2. Add `theme = "shadharon"` to your `config.toml`

@ -1,4 +1,4 @@
base_url = "https://syedzayyan.com"
base_url = "https://syedzayyan.github.io/shadharon"
title = "Heisenberg"
description = "Walter is kind, caring and timid, but also demanding, calculating, and ruthless. His invented pseudonym, Heisenberg, becomes an alter ego a fantasy for him to live out a love of power. Beneath both sides of his dual personality, he views the world in the rarefied scientific terms of chemistry."

Loading…
Cancel
Save