Skip to content

Commit

Permalink
Assets; Site config; GH Workflow (#1)
Browse files Browse the repository at this point in the history
* Assets; Site config; GH Workflow

- Assets: Replace 8-bit image with Lo-Fi image
- Config: Move config into subdir, allow for env to be specified
- Use falti/dotenv-action to read .env

* Correction of 'keys-case' for dotenv action
  • Loading branch information
Moqume authored Oct 14, 2023
1 parent e43c1fa commit c7396d7
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 56 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
fetch-depth: 0

- name: Read .env
id: hugo-version
run: |
. ./.env
echo "::set-output name=HUGO_VERSION::${HUGO_VERSION}"
id: dotenv
uses: falti/dotenv-action@v1.0.4
with:
keys-case: bypass
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '${{ steps.hugo-version.outputs.HUGO_VERSION }}'
hugo-version: '${{ steps.dotenv.outputs.HUGO_VERSION }}'
extended: true

- name: Build
Expand Down
50 changes: 0 additions & 50 deletions config.yaml

This file was deleted.

13 changes: 13 additions & 0 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
baseURL: https://moqu.me/
languageCode: en-gb
title: Moqume
theme: PaperMod
paginate: 5

enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
pygmentsUseClasses: true
35 changes: 35 additions & 0 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
description: "Moqume - https://moqu.me"
author: Moqume

defaultTheme: auto
disableThemeToggle: false
ShowShareButtons: true
ShowReadingTime: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowRssButtonInSectionTermList: true
ShowToc: true
hideFooter: true

profileMode:
enabled: true
title: "Hi there!👋"
subtitle: >
My real name is Mike Green, and I'm usually somewhere in or around London, UK.
My bio in short: I keep servers happy. I program too. Blunt and direct. Asks awkward questions.
imageUrl: "/assets/images/melofi_300x300.webp"
imageTitle: "It's me, Moqume!"

socialIcons:
- name: github
url: "https://github.com/Moqume"
- name: mastodon
url: "https://techhub.social/@moqume"
- name: medium
url: "https://medium.com/moqume"
- name: Rss
url: "index.xml"
3 changes: 3 additions & 0 deletions config/dev/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
baseURL: /

buildDrafts: true
Binary file removed static/assets/images/8b-moqume-300x300.webp
Binary file not shown.
Binary file added static/assets/images/melofi_300x300.webp
Binary file not shown.

0 comments on commit c7396d7

Please sign in to comment.