Skip to content

Commit df1bf6c

Browse files
committed
initial commit
0 parents  commit df1bf6c

File tree

11 files changed

+234
-0
lines changed

11 files changed

+234
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/go:1",
3+
"features": {
4+
"ghcr.io/devcontainers/features/hugo:1": {
5+
"extended": true,
6+
"version": "0.145.0"
7+
},
8+
"ghcr.io/devcontainers/features/node:1": {}
9+
},
10+
"customizations": {
11+
"vscode": {
12+
"extensions": [
13+
"mhutchie.git-graph",
14+
"esbenp.prettier-vscode",
15+
"tamasfe.even-better-toml",
16+
"budparr.language-hugo-vscode"
17+
]
18+
}
19+
},
20+
"forwardPorts": [
21+
1313
22+
]
23+
}

.github/workflows/pages.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
# Default to bash
25+
defaults:
26+
run:
27+
shell: bash
28+
29+
jobs:
30+
# Build job
31+
build:
32+
runs-on: ubuntu-latest
33+
env:
34+
HUGO_VERSION: 0.145.0
35+
steps:
36+
- name: Checkout
37+
uses: actions/checkout@v4
38+
with:
39+
fetch-depth: 0 # fetch all history for .GitInfo and .Lastmod
40+
submodules: recursive
41+
- name: Setup Go
42+
uses: actions/setup-go@v5
43+
with:
44+
go-version: '1.24'
45+
- name: Setup Pages
46+
id: pages
47+
uses: actions/configure-pages@v4
48+
- name: Setup Hugo
49+
run: |
50+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
51+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
52+
- name: Build with Hugo
53+
env:
54+
# For maximum backward compatibility with Hugo modules
55+
HUGO_ENVIRONMENT: production
56+
HUGO_ENV: production
57+
run: |
58+
hugo \
59+
--gc --minify \
60+
--baseURL "${{ steps.pages.outputs.base_url }}/"
61+
- name: Upload artifact
62+
uses: actions/upload-pages-artifact@v3
63+
with:
64+
path: ./public
65+
66+
# Deployment job
67+
deploy:
68+
environment:
69+
name: github-pages
70+
url: ${{ steps.deployment.outputs.page_url }}
71+
runs-on: ubuntu-latest
72+
needs: build
73+
steps:
74+
- name: Deploy to GitHub Pages
75+
id: deployment
76+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Hugo output
2+
public/
3+
resources/
4+
.hugo_build.lock
5+
6+
# Editor
7+
.vscode/
8+
.lsp/
9+
.clj-kondo/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Xin
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Blog
2+
3+
Testing Hugo / Hextra

content/_index.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Index Page
3+
toc: true
4+
---
5+
6+
## Some section
7+
8+
Some text
9+
10+
## Another section
11+
12+
Some text
13+
14+
## Yet another section
15+
16+
Some text
17+
18+
## Section again
19+
20+
Some text
21+
22+
## Section again again
23+
24+
Some text

content/about.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: About
3+
type: about
4+
---
5+
6+
With over 10 years of experience as a software engineer, I've primarily worked with the .NET platform and object-oriented programming. However, in recent years, I've developed a strong interest in functional programming, which is now the main focus of my studies.
7+
8+
- I currently work for the largest fintech in LATAM using several modern technologies (such as Clojure, Kafka, Datomic, DynamoDB, etc.)
9+
- Experience on refactoring of large legacy systems in a phased manner guaranteed by automated tests
10+
- DevOps knowledge: delivery of entire software pipelines on companies from scratch to production using Azure DevOps and Jenkins
11+
- Good knowledge of Azure and AWS cloud providers
12+
- Hiring and mentoring new engineers.
13+
- Hobbyist who loves writing F# and Clojure in my spare time
14+
15+
Most of my background domain experience is investments, core banking (payments) and geolocation solutions

go.mod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/imfing/hextra-starter-template
2+
3+
go 1.21
4+
5+
require github.com/imfing/hextra v0.9.7 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/imfing/hextra v0.9.7 h1:Zg5n24us36Bn/S/5mEUPkRW6uwE6vHHEqWSgN0bPXaM=
2+
github.com/imfing/hextra v0.9.7/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=

hugo.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Hugo configuration file
2+
title: rcamine
3+
4+
# import hextra as module
5+
module:
6+
imports:
7+
- path: github.com/imfing/hextra
8+
9+
markup:
10+
# allow raw html
11+
goldmark:
12+
renderer:
13+
unsafe: true
14+
15+
# enable hextra syntax highlight
16+
highlight:
17+
noClasses: false
18+
19+
menu:
20+
main:
21+
- name: About
22+
pageRef: /about
23+
weight: 2
24+
- name: Search
25+
weight: 4
26+
params:
27+
type: search
28+
- name: GitHub
29+
weight: 5
30+
url: "https://github.com/rcamine"
31+
params:
32+
icon: github
33+
- name: LinkedIn
34+
weight: 7
35+
url: "https://www.linkedin.com/in/raphael-camine/"
36+
params:
37+
icon: linkedin
38+
- name: Cal.com
39+
weight: 9
40+
url: "https://cal.com/rcamine"
41+
params:
42+
icon: calendar
43+
44+
params:
45+
navbar:
46+
displayTitle: true
47+
displayLogo: false
48+
49+
footer:
50+
displayCopyright: true
51+
displayPoweredBy: true
52+
53+
author:
54+
name: Raphael Camine
55+
email: raphael.camine@gmail.com

0 commit comments

Comments
 (0)