Skip to content

Commit b76cc0f

Browse files
committed
Merge remote-tracking branch 'remotes/origin/website-code'
2 parents 6c11eb6 + 9a8f8af commit b76cc0f

15 files changed

+272
-0
lines changed

.github/workflows/hugo.yaml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
2+
name: Deploy Hugo site to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches:
8+
- main
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
13+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
20+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
21+
concurrency:
22+
group: "pages"
23+
cancel-in-progress: false
24+
25+
# Default to bash
26+
defaults:
27+
run:
28+
shell: bash
29+
30+
jobs:
31+
# Build job
32+
build:
33+
runs-on: ubuntu-latest
34+
env:
35+
HUGO_VERSION: 0.125.4
36+
steps:
37+
- name: Install Hugo CLI
38+
run: |
39+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
40+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
41+
- name: Install Dart Sass
42+
run: sudo snap install dart-sass
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
with:
46+
submodules: recursive
47+
fetch-depth: 0
48+
- name: Setup Pages
49+
id: pages
50+
uses: actions/configure-pages@v4
51+
- name: Install Node.js dependencies
52+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
53+
- name: Build with Hugo
54+
env:
55+
# For maximum backward compatibility with Hugo modules
56+
HUGO_ENVIRONMENT: production
57+
HUGO_ENV: production
58+
run: |
59+
hugo \
60+
--gc \
61+
--minify \
62+
--baseURL "${{ steps.pages.outputs.base_url }}/"
63+
- name: Upload artifact
64+
uses: actions/upload-pages-artifact@v3
65+
with:
66+
path: ./public
67+
68+
# Deployment job
69+
deploy:
70+
environment:
71+
name: github-pages
72+
url: ${{ steps.deployment.outputs.page_url }}
73+
runs-on: ubuntu-latest
74+
needs: build
75+
steps:
76+
- name: Deploy to GitHub Pages
77+
id: deployment
78+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public/
2+
resources/
3+
.hugo_build.lock

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/hugo-blog-awesome"]
2+
path = themes/hugo-blog-awesome
3+
url = https://github.com/codercommand/hugo-blog-awesome.git

archetypes/default.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
3+
date = {{ .Date }}
4+
draft = true
5+
+++

assets/RR-runic_white_820x820.png

38.8 KB
Loading

content/arcade blog/arcade GDD.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = 'Arcade GDD'
3+
date = 2024-04-25T17:04:30+01:00
4+
draft = false
5+
+++
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
+++
2+
title = 'Origin of Arcade'
3+
date = 2023-05-01
4+
draft = false
5+
+++
6+
7+
How Arcade came to be

content/projects/LANSpace.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
+++
2+
title = 'LANSpace'
3+
date = 2021-08-28
4+
draft = false
5+
+++
6+

content/projects/Sentinel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = 'Sentinel'
3+
date = 2024-04-25
4+
draft = false
5+
+++

content/projects/Swamp Fell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = 'Swamp Fell'
3+
date = 2024-04-25T17:06:38+01:00
4+
draft = false
5+
+++
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
+++
2+
title = 'Wrong Turn at the Arcane Convention'
3+
date = 2024-04-25
4+
draft = false
5+
+++
6+
7+
{{< youtube vA8ORlfA9V0 >}}

content/resume.pdf

2.19 MB
Binary file not shown.

hugo.toml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
title = "Rian Rutherford"
2+
baseURL = 'https://codercommand/github.io/'
3+
4+
# This is what goes in <html lang="">
5+
languageCode = 'en-us'
6+
7+
# This defines how dates are formatted
8+
defaultContentLanguage = "en-gb"
9+
10+
# Enable emojis globally
11+
enableEmoji = true
12+
ignoreErrors = ["additional-script-loading-error"] # ignore error of loading additional scripts.
13+
14+
# traditional way: theme component resides in directory 'themes'
15+
theme = "hugo-blog-awesome"
16+
17+
# modern way: pull in theme component as hugo module
18+
#[module]
19+
# Uncomment the next line to build and serve using local theme clone declared in the named Hugo workspace:
20+
# workspace = "hugo-blog-awesome.work"
21+
#[module.hugoVersion]
22+
#extended = true
23+
#min = "0.87.0"
24+
#[[module.imports]]
25+
#path = "github.com/hugo-sid/hugo-blog-awesome"
26+
#disable = false
27+
28+
[services]
29+
# To enable Google Analytics 4 (gtag.js) provide G-MEASUREMENT_ID below.
30+
# To disable Google Analytics, simply leave the field empty or remove the next two lines
31+
[services.googleAnalytics]
32+
id = '' # G-MEASUREMENT_ID
33+
34+
# To enable Disqus comments, provide Disqus Shortname below.
35+
# To disable Disqus comments, simply leave the field empty or remove the next two lines
36+
[services.disqus]
37+
shortname = ''
38+
39+
# set markup.highlight.noClasses=false to enable code highlight
40+
[markup]
41+
[markup.highlight]
42+
noClasses = false
43+
[markup.goldmark.renderer]
44+
unsafe = true
45+
[markup.tableOfContents]
46+
startLevel = 2 # ToC starts from H2
47+
endLevel = 4 # ToC ends at H4
48+
ordered = false # generates <ul> instead of <ol>
49+
50+
############################## English language ################################
51+
[Languages.en-gb]
52+
languageName = "English"
53+
languageCode = "en-gb"
54+
contentDir = "content/"
55+
weight = 1
56+
57+
[Languages.en-gb.menu]
58+
[[Languages.en-gb.menu.main]]
59+
# The page reference (pageRef) is useful for menu highlighting
60+
# When pageRef is set, setting `url` is optional; it will be used as a fallback if the page is not found.
61+
pageRef="/"
62+
name = 'About'
63+
url = '/'
64+
weight = 10
65+
[[Languages.en-gb.menu.main]]
66+
pageRef="projects"
67+
name = 'Projects'
68+
url = '/projects/'
69+
weight = 20
70+
[[Languages.en-gb.menu.main]]
71+
pageRef="resume"
72+
name = 'Resume'
73+
url = '/resume.pdf'
74+
weight = 30
75+
[[Languages.en-gb.menu.main]]
76+
pageRef="arcade-blog"
77+
name = 'Arcade'
78+
url = '/arcade-blog/'
79+
weight = 40
80+
81+
[Languages.en-gb.params]
82+
sitename = "Rian Rutherford"
83+
defaultColor = "dark" # set color mode: dark, light, auto
84+
# Setting it to 'auto' applies the color scheme based on the visitor's device color preference.If you don't specify anything, ignore this parameter, or leave it blank,
85+
# the default value is set to 'auto'.
86+
# You can take a look at layouts/index.html for more information.
87+
description = "Portfolio website of Rian Rutherford."
88+
mainSections = ['projects', 'arcade-blog']
89+
toc = false # set to false to disable table of contents 'globally'
90+
tocOpen = false # set to true to open table of contents by default
91+
goToTop = true # set to false to disable 'go to top' button
92+
additionalScripts = ['js/custom.js', 'js/custom-2.js']
93+
# Will try to load 'assets/js/custom.js' and 'assets/js/custom-2.js'.
94+
# Your custom scripts will be concatenated to one file `custom.js`.
95+
# When building for production it will be minified.
96+
# The file `custom.js` is loaded on each page (before body tag ends).
97+
dateFormat = "" # date format used to show dates on various pages. If nothing is specified, then "2 Jan 2006" format is used.
98+
# See https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference for available date formats.
99+
rssFeedDescription = "summary" # available options: 1) summary 2) full
100+
# summary - includes a short summary of the blog post in the RSS feed. Generated using Hugo .Summary .
101+
# full - includes full blog post in the RSS feed. Generated using Hugo .Content .
102+
# By default (or if nothing is specified), summary is used.
103+
104+
[Languages.en-gb.params.author]
105+
avatar = "RR-runic_white_820x820.png" # put the file in assets folder; also ensure that image has same height and width
106+
# Note: image is not rendered if the resource(avatar image) is not found. No error is displayed.
107+
intro = "Rian Rutherford"
108+
name = "Rian Rutherford"
109+
description = "Unreal Engine C++ and Bevy (Rust) programmer."
110+
111+
# Allow to override webmanifest options
112+
[Languages.en-gb.params.webmanifest]
113+
name = "sitename" # will use "params.sitename" or "title" by default
114+
short_name = "sitename" # same as name
115+
start_url = "/" # will use homepage url by default
116+
theme_color = "#434648" # default is "#434648" (base color of text). Also will override html `<meta name="theme-color" />`
117+
background_color = "#fff" # by default depend on "params.defaultColor" for "light" or "auto" will be set to "#fff" for dark will be "#131418" (color of dark mode background)
118+
display = "standalone"
119+
120+
121+
###################################################################
122+
123+
# Allow to override `browserconfig.xml` params (configuration for windows embedded browsers)
124+
[params.browserconfig]
125+
TileColor = "#2d89ef" # default windows 10 blue tile color
126+
127+
[[params.socialIcons]]
128+
name = "github"
129+
url = "https://github.com/codercommand"
130+
131+
[[params.socialIcons]]
132+
name = "x"
133+
url = "https://twitter.com/codercommand"
134+
135+
[[params.socialIcons]]
136+
name = "itchio"
137+
url = "https://codercommand.itch.io/"
138+
139+
[[params.socialIcons]]
140+
name = "linkedin"
141+
url = "https://www.linkedin.com/in/rian-rutherford/"
142+
143+
144+
[[params.socialIcons]]
145+
name = "youtube"
146+
url = "https://www.youtube.com/@codercommand"

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hugo template used to make website: https://themes.gohugo.io/themes/hugo-blog-awesome/

themes/hugo-blog-awesome

Submodule hugo-blog-awesome added at 7069c5a

0 commit comments

Comments
 (0)