Compare commits

33 Commits

Author SHA1 Message Date
78bd487cfe bump: blowfish/hugo version + theme submodule
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m45s
2025-06-28 07:42:39 -04:00
f342bf94ad Merge pull request 'chore(deps): update nginx docker tag to v1.29' (#12) from renovate/nginx-1.x into main
Some checks failed
Build Blog Docker Image / build docker (push) Has been cancelled
Reviewed-on: #12
2025-06-27 20:10:14 +02:00
367670897b chore(deps): update nginx docker tag to v1.29 2025-06-25 00:00:40 +00:00
030690546d Revert "bump: blowfish/hugo version"
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m18s
This reverts commit 834fc3f045.
2025-05-03 05:31:31 -04:00
834fc3f045 bump: blowfish/hugo version
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m26s
2025-05-03 05:09:11 -04:00
0e7b6a4634 chore(build): use hugomods/hugo base image for build
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m32s
2025-04-26 05:49:15 -04:00
295da91a77 Merge pull request 'chore(deps): update nginx docker tag to v1.28' (#10) from renovate/nginx-1.x into main
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 2m19s
Reviewed-on: #10
2025-04-26 11:37:52 +02:00
8ab461d601 chore(deps): update nginx docker tag to v1.28 2025-04-24 00:00:40 +00:00
616accd48f bump: blowfish/hugo version
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 6m24s
Build Blog Docker Image / build docker (push) Successful in 3m15s
2025-03-30 15:07:49 -04:00
24926644b6 Merge pull request 'chore(deps): update golang docker tag to v1.24' (#9) from renovate/golang-1.x into main
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m41s
Reviewed-on: #9
2025-02-13 23:05:47 +01:00
4396c6b534 chore(deps): update golang docker tag to v1.24 2025-02-13 00:01:20 +00:00
957439daf7 bump: blowfish/hugo version
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 4m5s
Build Hugo Docker Image / build docker (push) Successful in 5m43s
2025-02-03 12:56:45 -05:00
1dbdec4125 bump: blowfish/hugo version
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 4m3s
Build Blog Docker Image / build docker (push) Successful in 1m4s
2025-01-15 14:37:32 -05:00
7540750b10 update umami websiteid
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m17s
2025-01-12 18:07:40 -05:00
b024458812 revert ec19ee3b15
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m13s
revert fix(Dockerfile): remove exposed port
2025-01-09 20:10:51 +01:00
ec19ee3b15 fix(Dockerfile): remove exposed port
Some checks failed
Build Blog Docker Image / build docker (push) Failing after 1m24s
2025-01-08 22:20:03 +01:00
0ffb63994c update copyright to 2025
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m3s
2025-01-04 05:49:10 -05:00
90f8f2077d fix: profile data
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m4s
2024-12-21 05:21:24 -05:00
b29787f86f fix: paginate deprecation
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m1s
2024-12-11 16:17:59 +01:00
45c231a7a1 bump: blowfish/hugo version
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 4m30s
Build Blog Docker Image / build docker (push) Successful in 1m10s
2024-12-11 16:08:59 +01:00
29a6bd78ff fix: .Site.Author deprecation
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m16s
2024-11-11 18:10:03 +01:00
8ad53f40ff bump: blowfish/hugo version
Some checks failed
Build Hugo Docker Image / build docker (push) Successful in 4m9s
Build Blog Docker Image / build docker (push) Failing after 1m8s
2024-11-10 19:47:44 +01:00
39d14e056f bump: blowfish/hugo version
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 5m55s
Build Blog Docker Image / build docker (push) Successful in 1m17s
2024-10-07 21:41:49 +02:00
db9ebf501c reverte 005a77e8b1
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 4m40s
Build Blog Docker Image / build docker (push) Successful in 1m19s
2024-09-23 18:41:02 +02:00
005a77e8b1 fix: change runners
Some checks failed
Build Hugo Docker Image / build docker (push) Failing after 1m10s
Build Blog Docker Image / build docker (push) Successful in 1m54s
2024-09-23 18:38:56 +02:00
a8a307d6bd Merge pull request 'chore(deps): update docker/login-action action to v3' (#6) from renovate/docker-login-action-3.x into main
Some checks are pending
Build Hugo Docker Image / build docker (push) Waiting to run
Build Blog Docker Image / build docker (push) Waiting to run
Reviewed-on: #6
2024-09-23 18:21:52 +02:00
bdc1af6115 Merge pull request 'chore(deps): update actions/checkout action to v4' (#4) from renovate/actions-checkout-4.x into main
Some checks are pending
Build Hugo Docker Image / build docker (push) Waiting to run
Build Blog Docker Image / build docker (push) Waiting to run
Reviewed-on: #4
2024-09-23 18:21:44 +02:00
a79d0de3d7 Merge pull request 'chore(deps): update docker/build-push-action action to v6' (#5) from renovate/docker-build-push-action-6.x into main
Some checks are pending
Build Hugo Docker Image / build docker (push) Waiting to run
Build Blog Docker Image / build docker (push) Waiting to run
Reviewed-on: #5
2024-09-23 18:21:32 +02:00
c7c2a43f50 Merge pull request 'chore(deps): update docker/setup-buildx-action action to v3' (#7) from renovate/docker-setup-buildx-action-3.x into main
Some checks are pending
Build Hugo Docker Image / build docker (push) Waiting to run
Build Blog Docker Image / build docker (push) Waiting to run
Reviewed-on: #7
2024-09-23 18:21:16 +02:00
79f0c18538 chore(deps): update docker/setup-buildx-action action to v3
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 4m50s
2024-09-23 16:20:28 +00:00
771a04a6a7 chore(deps): update docker/login-action action to v3
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 4m58s
2024-09-23 16:20:26 +00:00
5f9bc01b8b chore(deps): update docker/build-push-action action to v6
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 4m55s
2024-09-23 16:20:24 +00:00
bac32586b8 chore(deps): update actions/checkout action to v4
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 4m42s
2024-09-23 16:20:21 +00:00
11 changed files with 21 additions and 67 deletions

View File

@ -1,33 +0,0 @@
name: Build Hugo Docker Image
on:
push:
paths:
- ".gitea/workflows/1_build_hugo_image.yml"
jobs:
build docker:
runs-on: linux_amd
steps:
- name: checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker registry
uses: docker/login-action@v2
with:
registry: git.d3vyce.fr
username: ${{ github.actor }}
password: ${{ secrets.GIT_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
build-args:
HUGO_VERSION=v0.133.1
file: ./hugo.Dockerfile
platforms: linux/amd64
push: true
tags: git.d3vyce.fr/d3vyce/hugo:latest

View File

@ -10,7 +10,7 @@ jobs:
runs-on: linux_amd
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
# with:
# lfs: 'true'
- name: Checkout LFS
@ -23,19 +23,17 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to Docker registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: git.d3vyce.fr
username: ${{ github.actor }}
password: ${{ secrets.GIT_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
build-args:
BLOWFISH_VERSION=v2.77.1
file: ./Dockerfile
platforms: linux/amd64
push: true

View File

@ -1,5 +1,5 @@
# Build Stage
FROM git.d3vyce.fr/d3vyce/hugo:latest AS build
FROM hugomods/hugo:0.147.8 AS build
ARG BLOWFISH_VERSION
@ -7,11 +7,11 @@ WORKDIR /opt/blog
COPY . /opt/blog/
RUN git submodule update --init --recursive && \
git -C themes/blowfish/ checkout ${BLOWFISH_VERSION}
git -C themes/blowfish/ checkout v2.87.0
RUN hugo
# Publish Stage
FROM nginx:1.27-alpine
FROM nginx:1.29-alpine
WORKDIR /usr/share/nginx/html
COPY --from=build /opt/blog/public /usr/share/nginx/html/

View File

@ -9,7 +9,6 @@ defaultContentLanguage = "en"
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
enableRobotsTXT = true
paginate = 10
summaryLength = 0
buildDrafts = false
@ -17,6 +16,9 @@ buildFuture = false
# googleAnalytics = "G-XXXXXXXXX"
[pagination]
pagerSize = 10
[imaging]
anchor = 'Center'

View File

@ -11,9 +11,9 @@ title = "d3vyce Blog"
logo = "img/author_transparent.webp"
# secondaryLogo = "img/secondary-logo.png"
description = "Hi 👋, Welcome to my Blog!"
copyright = "d3vyce 2024 © All rights reserved."
copyright = "d3vyce 2021-2025 © All rights reserved."
[author]
[params.author]
name = "d3vyce"
image = "img/profil.png"
headline = "Hi 👋, Welcome to my Blog!"

View File

@ -143,5 +143,5 @@ smartTOCHideUnfocusedChildren = false
# yandex = ""
[umamiAnalytics]
websiteid = "3f82b8d1-0744-4af3-a29e-c1b5add4a1e5"
websiteid = "136df6e7-f469-45ce-b2c1-f324e7228ea5"
domain = "analytics.d3vyce.fr"

View File

@ -1,7 +1,6 @@
---
title: "d3vyce Blog's"
description: "This page was built using the Blowfish theme for Hugo."
layout: "simple"
---
{{< list title="Latest Projects" cardView=true limit=3 where="Type" value="projects" >}}

View File

@ -1,12 +0,0 @@
FROM golang:1.23-alpine AS build
ARG HUGO_VERSION
ARG CGO=1
ENV CGO_ENABLED=${CGO}
ENV GOOS=linux
ENV GO111MODULE=on
RUN apk update && \
apk add --no-cache gcc musl-dev g++ git
RUN go install -tags extended github.com/gohugoio/hugo@${HUGO_VERSION}

View File

@ -2,7 +2,7 @@
{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
<article class="flex flex-col items-center justify-center text-center">
<header class="flex flex-col items-center mb-3">
{{ with .Site.Author.image }}
{{ with .Site.Params.Author.image }}
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ if not $disableImageOptimization }}
@ -12,13 +12,13 @@
class="mb-2 rounded-full h-36 w-36"
width="144"
height="144"
alt="{{ $.Site.Author.name | default "Author" }}"
alt="{{ $.Site.Params.Author.name | default "Author" }}"
src="{{ $authorImage.RelPermalink }}"
/>
{{ end }}
{{ end }}
<h1 class="text-4xl font-extrabold">
{{ .Site.Author.name | default .Site.Title }}
{{ .Site.Params.Author.name | default .Site.Title }}
</h1>
<div class="mt-1 text-2xl">
{{ partialCached "author-links.html" . }}

View File

@ -1,7 +1,7 @@
{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
<article class="flex flex-col items-center justify-center text-center">
<header class="flex flex-col items-center mb-3">
{{ with .Site.Author.image }}
{{ with .Site.Params.Author.image }}
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ if not $disableImageOptimization }}
@ -11,15 +11,15 @@
class="mb-2 rounded-full h-36 w-36"
width="144"
height="144"
alt="{{ $.Site.Author.name | default "Author" }}"
alt="{{ $.Site.Params.Author.name | default "Author" }}"
src="{{ $authorImage.RelPermalink }}"
/>
{{ end }}
{{ end }}
<h1 class="text-4xl font-extrabold">
{{ .Site.Author.name | default .Site.Title }}
{{ .Site.Params.Author.name | default .Site.Title }}
</h1>
{{ with .Site.Author.headline }}
{{ with .Site.Params.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . | markdownify | emojify }}
</h2>