Skip to content

Commit

Permalink
Flesh out
Browse files Browse the repository at this point in the history
  • Loading branch information
prophetarmed committed Oct 13, 2024
1 parent 891161a commit 67e6e45
Show file tree
Hide file tree
Showing 11 changed files with 104 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and deploy to neocities

on:
push:
branches:
- main

concurrency: # prevent concurrent deploys doing strange things
group: deploy-to-neocities
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.135.0'
# extended: true

- name: Build
run: hugo --minify

- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v1
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: false
dist_dir: ./public
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/typo"]
path = themes/typo
url = https://github.com/tomfran/typo.git
64 changes: 61 additions & 3 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
baseURL = 'https://prophetarmed.com/'
languageCode = 'en-gb'
title = 'Prophet Armed Blog'
theme = 'typo'

# [taxonomies]
# tag = 'tags'
#
# # Google analytics code
# googleAnalytics = "G-xxxxxxxxx"

[params]
# Meta description
description = "Blog for Revolutionary Politics & Technology"

# Appearance settings
theme = 'auto'
colorPalette = 'default'
hideHeader = false

# Intro on main page, content is markdown
homeIntroTitle = 'Welcome'
homeIntroContent = """
Welcome to Prophet Armed. This is the website for anything to do with communist politics or technology (usually focused around FOSS) that I feel like writing about.
"""

# TODO: uncomment when I have posts
# Collection to display on home
# homeCollectionTitle = 'Posts'
# homeCollection = 'posts'

# Lists parameters
paginationSize = 100
listSummaries = true
listDateFormat = '2 Jan 2006'

# Breadcrumbs
breadcrumbs = true

# Social icons
[[params.social]]
name = "github"
url = "https://github.com/prophetarmed"

# Main menu pages
[[params.menu]]
name = "home"
url = "/"

# [[params.menu]]
# name = "posts"
# url = "/posts"
#
# [[params.menu]]
# name = "about"
# url = "/about"

# Syntax highligth on code blocks
[markup]
[markup.highlight]
style = 'algol'
Binary file added static/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions static/favicon.svg
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/typo
Submodule typo added at f97650

0 comments on commit 67e6e45

Please sign in to comment.