Skip to content

Commit

Permalink
chore(initial): Initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
  • Loading branch information
shymega committed Dec 31, 2023
0 parents commit e535dbf
Show file tree
Hide file tree
Showing 10 changed files with 107 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Blog website builder

on:
push:
branches: [main]
workflow_dispatch:

jobs:
build:
concurrency: blog-build-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build blog
uses: klakegg/actions-hugo@1.0.0
with:
image: ext-alpine
env: production
- name: Create supporting file (.nojekyll)
run: sudo touch ./public/.nojekyll
- name: Deploy to GitHub
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: public
single-commit: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/temple"]
path = themes/temple
url = https://github.com/shymega/blog-temple-theme.git
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
draft: true
---

20 changes: 20 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
baseurl = "https://www.planet-community.org"
languageCode = "en-gb"
title = "The Planet Community Website"
theme = "temple"
copyright = "Copyright © (CC-BY-SA 4.0) Planet Community Org 2023-{year}"

[params]
# Enables syntax highlighting
highlight = true
hjslangs = ["go", "elixir", "clojure", "rust", "embedded"]
topmenu = "categories"

# Builds a list page for each category given
[taxonomies]
tag = "tags"
category = "categories"

[author]
name = "The Planet Community"
github = "planet-community-org"
5 changes: 5 additions & 0 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "About"
date: "2023-12-31"
---

5 changes: 5 additions & 0 deletions content/sponsoring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Sponsoring"
---

Check back soon!
39 changes: 39 additions & 0 deletions data/l10n.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[articles]
read_more = "Read more"
words = "words"
readingtime = "minute read"
share = "Share"
comments = "Comments"

# Linked older/newer posts at the bottom of each one
[articles.linked_posts]
older = "Older"
newer = "Newer"

[search]
placeholder = "Search"

[pagination]
previous = "Prev"
next = "Next"

[profile]
follow_button = "Follow"
tags = "Tags"
posts = "Posts"

[page_not_found]
title = "404 - page not found"
subtitle = "The content you're looking for doesn't seem to exist."

[widgets.categories]
title = "Categories"

[widgets.recent_articles]
title = "Recents"

[widgets.tag_cloud]
title = "Tag cloud"

[widgets.tags]
title = "Tags"
Binary file added static/banners/placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions themes/temple
Submodule temple added at 0ef94e

0 comments on commit e535dbf

Please sign in to comment.