Skip to content

Commit

Permalink
Downgrate back to Zola
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Nov 22, 2024
1 parent 16a7718 commit ecf18c2
Show file tree
Hide file tree
Showing 40 changed files with 298 additions and 322 deletions.
73 changes: 0 additions & 73 deletions .github/workflows/build.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy Website
on:
push:
paths: ["content/**", "static/**", "langs/**", "templates/**", "config.toml"]
branches: [main]
pull_request:
paths: ["content/**", "static/**", "langs/**", "templates/**", "config.toml"]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Zola
uses: taiki-e/install-action@zola
- name: Build the site
run: zola build
- name: Deploy to GitHub Pages
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: HTML
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "hguinav"]
path = themes/hguinav
url = https://github.com/harrymkt/hguinav.git
[submodule "zluinav"]
path = themes/zluinav
url = https://github.com/harrymkt/zluinav
Empty file removed .hugo_build.lock
Empty file.
4 changes: 0 additions & 4 deletions archetypes/default.md

This file was deleted.

2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo off
title Building
hugo build
zola build
pause
25 changes: 25 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Build output directory
output_dir = "HTML"
# Title of the site
title = "Harry Min Khant"
base_url = "https://harrymkt.github.io"
theme = "zluinav"
# Default author to be used if the page does not have set one.
author = "Harry Min Khant"
# Feed filename
feed_filenames = ["rss.xml"]
# We don't need Sass
compile_sass = false
# Search feature is currently not supported in this theme
build_search_index = false
# Default language
default_language = "en"

[extra]
nav = [
{name = "Home", url = "/.l./", key = "H", id = "nav1"},
{name = "Projects", url = "/.l./projects"},
{name = "Blog", url = "/.l./blog/", title = "Read the latest news", id = "nav3"},
{name = "Useful Communities", url = "/.l./community"},
{name = "Useful Articles", url = "/.l./articles"}
]
6 changes: 0 additions & 6 deletions config/_default/markup.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions config/_default/menus.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions config/_default/taxonomies.yaml

This file was deleted.

12 changes: 6 additions & 6 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: "Home"
---
+++
title = "Home"
+++
# Welcome
<p id="welcomep">
<script>document.getElementById("welcomep").textContent="Hello "+get_storage("visitname","visiter")+", thanks for stopping bye! I am "+ownername+", and I hope my website will give you useful contents and creativities. Have a look around!";</script>

The navigation menu is located at the top. The footer section is located below. In the footer you'll found some links, including to my social profiles and other useful links.

## What can I help you with?
* **Coding** : I could, and interest to coding, especially contributing or helping.
* **Writing** : I love writing, especially Documentations and I would like to help as much as I can.
* **Music design** : I could design music for you, such as mixing, producing. I use Reaper as the ultimit audio software. Note, I'm not professional music producer and in still learning, especially because technology and programming is I interest the most.
- **Coding** : I could, and interest to coding, especially contributing or helping.
- **Writing** : I love writing, especially Documentations and I would like to help as much as I can.
- **Music design** : I could design music for you, such as mixing, producing. I use Reaper as the ultimit audio software. Note, I'm not professional music producer and in still learning, especially because technology and programming is I interest the most.

For more information about what can I help you with and If it does not listed above, please contact me.
6 changes: 3 additions & 3 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "About"
---
+++
title = "About"
+++
# About me
<p id="myfirst"></p>
<script>
Expand Down
6 changes: 3 additions & 3 deletions content/accessibility.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Accessibility"
---
+++
title = "Accessibility"
+++
# Accessibility
I use the structure of the site clean and accessible as possible, especially with the visually impaired people. As I am a blind people, I implemented the accessibility of the site to be fully and responsive.

Expand Down
10 changes: 7 additions & 3 deletions content/articles/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
title: "Articles"
---
+++
title = "Articles"
template = "section_paginated.html"
page_template = "blogpage.html"
sort_by = "update_date"
paginate_by = 10
+++
# Articles
Here I will share useful articles.
13 changes: 5 additions & 8 deletions content/articles/cobalt-about.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
---
title: "All About Cobalt"
keywords: [static,deploy,web,cobalt,generator,host]
date: 2024-09-06T22:03:00+06:30
description: "A static site generator written in Rust"
categories: [Web Development]
authors: [Harry Min Khant]
---
+++
date = 2024-09-06T22:03:00+06:30
description = "A static site generator written in Rust"
title = "All About Cobalt"
+++
[Cobalt](https://cobalt-org.github.io "Official website") is a static site generator written in Rust language powered by [Liquid](https://shopify.github.io/liquid) as its templating engine.
<!--more-->

Expand Down
13 changes: 5 additions & 8 deletions content/articles/free-web-host-providers.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
---
title: "Free web hosting providers"
keywords: [static,web,host,deploy,generator,cobalt,zola,hugo]
date: 2024-09-04T22:30:00+06:30
description: "Best free hosting providers at all times!"
categories: [web development]
authors: [Harry Min Khant]
---
+++
date = 2024-09-04T22:30:00+06:30
description = "Best free hosting providers at all times!"
title = "Free web hosting providers"
+++
Do you want to get your website up and running but can't find free hosting services and don’t want to spend a lot of money? Look no further!
<!--more-->

Expand Down
15 changes: 6 additions & 9 deletions content/articles/hugo-about.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
---
title: "All About Hugo"
keywords: [generator,hugo,web,deploy,static,host]
date: 2024-11-18T17:43:00+06:30
description: "A static site generator written in Go"
categories: [web development]
authors: [Harry Min Khant]
---
+++
date = 2024-11-18T17:43:00+06:30
description = "A static site generator written in Go"
title = "All About Hugo"
+++
[Hugo](https://gohugo.io/ "Official website") is a static site generator written in Go language optimized for speed and designed for flexibility.
<!--more-->
With its advanced templating system and fast asset pipelines, Hugo renders a complete site in seconds, often less.
Expand All @@ -22,7 +19,7 @@ Due to its flexible framework, multilingual support, and powerful taxonomy syste
* And many more features!

## Notes
* Hugo is not simple as [Cobalt]({{% relref "cobalt-about" %}}) and [Zola]({{% relref "zola-about" %}}), but it provides many more features and full multilingual / taxonomy support.
* Hugo is not simple as [Cobalt](@cobalt-about.md) and [Zola](@zola-about.md), but it provides many more features and full multilingual / taxonomy support.
* Because of Zola's easy templating engine, it could become one of the world's most popular static site generators in the future.
* Learning Hugo will take time, especially with its vast documentation and professional features.

Expand Down
15 changes: 6 additions & 9 deletions content/articles/zola-about.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
title: "All About Zola"
keywords: [zola,deploy,static,web,generator,host]
lastmod: 2024-10-05T13:00:00+06:30
date: 2024-10-02T22:00:00+06:30
description: "A static site generator written in Rust"
categories: [web development]
authors: [Harry Min Khant]
---
+++
date = 2024-10-02T22:00:00+06:30
description = "A static site generator written in Rust"
updated = 2024-10-05T13:00:00+06:30
title = "All About Zola"
+++
[Zola](https://getzola.org/ "Official website") is a static site generator written in Rust language powered by [Tera](https://keats.github.io/tera/) as its templating engine.
<!--more-->
It is one of the well-known static site generators available today, designed to be easy, flexible, and lightweight. You write your site's content in Markdown, and Zola will build the site for you as HTML files, ready to be served on your server. While other static site generators are available, they are not as simple as Zola, which requires no additional libraries to install. This makes it a perfect, time-saving solution for speed, stability, clean layouts, and ease of use.
Expand Down
Loading

0 comments on commit ecf18c2

Please sign in to comment.