Skip to content

Commit 1ab1b01

Browse files
committed
Temporal commit
1 parent cc06898 commit 1ab1b01

26 files changed

Lines changed: 362 additions & 141 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @daniel-mizsak

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [ ] Linting passes
2+
- [ ] Tests are added and passing
3+
- [ ] Documentation is updated

.github/linters/.megalinter.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
# Configuration file for MegaLinter
3+
# See all available variables at https://megalinter.io/configuration/ and in linters documentation
4+
5+
DISABLE:
6+
- SPELL
7+
8+
FLAVOR_SUGGESTIONS: false
9+
GITHUB_COMMENT_REPORTER: true
10+
SHOW_ELAPSED_TIME: true
11+
VALIDATE_ALL_CODEBASE: true
12+
13+
COPYPASTE_JSCPD_DISABLE_ERRORS: true
14+
HTML_HTMLHINT_FILTER_REGEX_EXCLUDE: (layouts/partials)
15+
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: (.github/PULL_REQUEST_TEMPLATE\.md)
16+
REPOSITORY_KICS_DISABLE_ERRORS: true
17+
YAML_YAMLLINT_ARGUMENTS: --strict

.github/linters/.yamllint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
extends: default
3+
4+
rules:
5+
comments:
6+
min-spaces-from-content: 1
7+
8+
line-length:
9+
max: 200
10+
level: warning
11+
12+
truthy:
13+
ignore: |
14+
.github

.github/workflows/cd.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: CD
3+
4+
on:
5+
push:
6+
tags:
7+
- "*"
8+
9+
jobs:
10+
ci:
11+
uses: ./.github/workflows/ci.yml
12+
permissions:
13+
id-token: write
14+
pull-requests: write
15+
16+
github-pages-publish:
17+
needs: ci
18+
environment:
19+
name: github-pages
20+
url: ${{ steps.deployment.outputs.page_url }}
21+
runs-on: ubuntu-latest
22+
permissions:
23+
pages: write
24+
id-token: write
25+
steps:
26+
- name: Deploy to GitHub Pages
27+
id: deployment
28+
uses: actions/deploy-pages@v4.0.5
29+
with:
30+
artifact_name: site

.github/workflows/ci.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
name: CI
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
schedule:
10+
- cron: "0 12 * * 6" # Every Saturday at 12:00
11+
workflow_call:
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
lint:
19+
runs-on: ubuntu-latest
20+
permissions:
21+
pull-requests: write
22+
steps:
23+
- name: Check out the codebase
24+
uses: actions/checkout@v5.0.0
25+
26+
- name: Run megalinter
27+
uses: oxsecurity/megalinter/flavors/cupcake@v9.1.0
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
MEGALINTER_CONFIG: .github/linters/.megalinter.yml
31+
32+
ci:
33+
runs-on: ubuntu-latest
34+
permissions:
35+
id-token: write
36+
steps:
37+
- name: Check out the codebase
38+
uses: actions/checkout@v5.0.0
39+
with:
40+
submodules: true
41+
42+
- name: Setup hugo
43+
uses: peaceiris/actions-hugo@v3.0.0
44+
with:
45+
hugo-version: "latest"
46+
47+
- name: Build documentation
48+
run: >
49+
hugo build --minify --destination public
50+
51+
- name: Upload documentation artifacts
52+
uses: actions/upload-pages-artifact@v4.0.0
53+
with:
54+
name: site
55+
path: public

.gitignore

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

Justfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@_:
2+
just --list --unsorted
3+
4+
[group("lifecycle")]
5+
clean:
6+
rm -rf \
7+
.DS_Store
8+
9+
[group("run")]
10+
serve:
11+
hugo server --disableFastRender --noHTTPCache

README.md

Whitespace-only changes.

config/_default/hugo.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Refer to the theme docs for more details about each of these parameters.
33
# https://blowfish.page/docs/getting-started/
44

5-
# theme = "blowfish" # UNCOMMENT THIS LINE
6-
# baseURL = "https://your_domain.com/"
5+
theme = "blowfish" # UNCOMMENT THIS LINE
6+
baseURL = "https://pythonvilag.hu/"
77
defaultContentLanguage = "en"
88

99
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
@@ -42,28 +42,28 @@ enableEmoji = true
4242
threshold = 0
4343
toLower = false
4444

45-
[[related.indices]]
46-
name = "tags"
47-
weight = 100
45+
[[related.indices]]
46+
name = "tags"
47+
weight = 100
4848

49-
[[related.indices]]
50-
name = "categories"
51-
weight = 100
49+
[[related.indices]]
50+
name = "categories"
51+
weight = 100
5252

53-
[[related.indices]]
54-
name = "series"
55-
weight = 50
53+
[[related.indices]]
54+
name = "series"
55+
weight = 50
5656

57-
[[related.indices]]
58-
name = "authors"
59-
weight = 20
57+
[[related.indices]]
58+
name = "authors"
59+
weight = 20
6060

61-
[[related.indices]]
62-
name = "date"
63-
weight = 10
61+
[[related.indices]]
62+
name = "date"
63+
weight = 10
6464

65-
[[related.indices]]
66-
applyFilter = false
67-
name = 'fragmentrefs'
68-
type = 'fragments'
69-
weight = 10
65+
[[related.indices]]
66+
applyFilter = false
67+
name = 'fragmentrefs'
68+
type = 'fragments'
69+
weight = 10

0 commit comments

Comments
 (0)