Skip to content

Commit 6a6147a

Browse files
committed
Intial commit
0 parents  commit 6a6147a

File tree

87 files changed

+4927
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+4927
-0
lines changed

.github/workflows/publish.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
3+
name: Deploy Hugo site to Pages
4+
5+
on:
6+
# Runs on pushes targeting the default branch
7+
push:
8+
branches: ["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.147.2
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+
- name: Setup Pages
48+
id: pages
49+
uses: actions/configure-pages@v5
50+
- name: Install Node.js dependencies
51+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
52+
- name: Build with Hugo
53+
env:
54+
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
55+
HUGO_ENVIRONMENT: production
56+
run: |
57+
hugo --minify
58+
- name: Upload artifact
59+
uses: actions/upload-pages-artifact@v3
60+
with:
61+
path: ./hugo/public
62+
63+
# Deployment job
64+
deploy:
65+
environment:
66+
name: github-pages
67+
url: ${{ steps.deployment.outputs.page_url }}
68+
runs-on: ubuntu-latest
69+
needs: build
70+
steps:
71+
- name: Deploy to GitHub Pages
72+
id: deployment
73+
uses: actions/deploy-pages@v4

.gitignore

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

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "themes/blowfish"]
2+
path = themes/blowfish
3+
url = https://github.com/nunocoracao/blowfish.git
4+
branch = main

archetypes/default.md

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

assets/perl-logo-32x104_orig.png

958 Bytes
Loading

config/_default/hugo.toml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# -- Site Configuration --
2+
# Refer to the theme docs for more details about each of these parameters.
3+
# https://blowfish.page/docs/getting-started/
4+
5+
theme = "blowfish" # UNCOMMENT THIS LINE
6+
# baseURL = "https://your_domain.com/"
7+
defaultContentLanguage = "en"
8+
9+
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
10+
11+
enableRobotsTXT = true
12+
summaryLength = 0
13+
14+
buildDrafts = false
15+
buildFuture = false
16+
17+
enableEmoji = true
18+
19+
# googleAnalytics = "G-XXXXXXXXX"
20+
21+
[pagination]
22+
pagerSize = 100
23+
24+
[imaging]
25+
anchor = 'Center'
26+
27+
[taxonomies]
28+
tag = "tags"
29+
category = "categories"
30+
author = "authors"
31+
series = "series"
32+
33+
[sitemap]
34+
changefreq = 'daily'
35+
filename = 'sitemap.xml'
36+
priority = 0.5
37+
38+
[outputs]
39+
home = ["HTML", "RSS", "JSON"]
40+
41+
[related]
42+
threshold = 0
43+
toLower = false
44+
45+
[[related.indices]]
46+
name = "tags"
47+
weight = 100
48+
49+
[[related.indices]]
50+
name = "categories"
51+
weight = 100
52+
53+
[[related.indices]]
54+
name = "series"
55+
weight = 50
56+
57+
[[related.indices]]
58+
name = "authors"
59+
weight = 20
60+
61+
[[related.indices]]
62+
name = "date"
63+
weight = 10
64+
65+
[[related.indices]]
66+
applyFilter = false
67+
name = 'fragmentrefs'
68+
type = 'fragments'
69+
weight = 10

config/_default/languages.en.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
disabled = false
2+
languageCode = "en"
3+
languageName = "English"
4+
weight = 1
5+
title = "The Perl and Raku Foundation"
6+
7+
[params]
8+
displayName = "EN"
9+
isoCode = "en"
10+
rtl = false
11+
dateFormat = "2 January 2006"
12+
logo = "perl-logo-32x104_orig.png"
13+
description = "The Perl Foundation is dedicated to the advancement of the Perl and Raku programming language. We seek to do this through open discussion, collaboration, design, and code."
14+
15+
["params.author"]
16+
name = "Yet Another Society"

config/_default/markup.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# -- Markup --
2+
# These settings are required for the theme to function.
3+
4+
[goldmark]
5+
[goldmark.renderer]
6+
unsafe = true
7+
8+
[highlight]
9+
noClasses = false
10+
11+
[tableOfContents]
12+
startLevel = 2
13+
endLevel = 4

0 commit comments

Comments
 (0)