-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1e0aab1
Showing
14 changed files
with
1,454 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build and deploy GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Download Zola | ||
run: wget -q -O - "https://github.com/getzola/zola/releases/download/v0.18.0/zola-v0.18.0-x86_64-unknown-linux-gnu.tar.gz" | tar xzf - -C /usr/local/bin | ||
|
||
- name: Build website | ||
run: zola build | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
# Upload entire repository | ||
path: 'public' | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "themes/papermod"] | ||
path = themes/papermod | ||
url = https://github.com/cydave/zola-theme-papermod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
title = "Wiro Logiciel Libre" | ||
base_url = "https://wiro-libre.github.io" | ||
default_language = "fr" | ||
|
||
theme = "papermod" | ||
compile_sass = true | ||
build_search_index = false | ||
generate_feed = true | ||
minify_html = true | ||
|
||
taxonomies = [ | ||
{ name = "tags", feed = true }, | ||
] | ||
|
||
[markdown] | ||
highlight_code = false | ||
|
||
[extra] | ||
[extra.papermod] | ||
title = "Wiro Logiciel Libre" | ||
home_title = "" | ||
home_content = """ | ||
<b>Nous</b> cherchons à _superviser le développement de logiciels informatiques sous licences libres et superviser les infrastructures de l’hébergement à utilisation publique de tels logiciels_. | ||
Vous pouvez retouver nos projets sur GitHub. | ||
""" | ||
social_icons = [ | ||
{ title = "GitHub", icon = "github", url = "https://github.com/wiro-libre" }, | ||
{ title = "RSS", icon = "rss", url = "$BASE_URL/atom.xml" }, | ||
] | ||
|
||
theme = "light" | ||
default_theme = "auto" | ||
language_direction = "auto" | ||
keywords = [] | ||
|
||
show_theme_toggle = true | ||
show_scroll_to_top = true | ||
show_code_copy_buttons = true | ||
show_reading_time = true | ||
show_word_count = false | ||
show_post_nav_links = true | ||
show_post_meta = true | ||
show_post_edit_button = false | ||
|
||
default_toc_open = false | ||
edit_post_url = "https://github.com/wiro-libre/wiro-libre.github.io/tree/master" | ||
date_format = "%Y-%m-%d" | ||
|
||
navigation = [ | ||
{ url = "$BASE_URL/archive", title = "Archive" }, | ||
{ url = "$BASE_URL/tags", title = "Tags" }, | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
+++ | ||
sort_by = "date" | ||
paginate_by = 5 | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
+++ | ||
date = "2023-05-11T00:00:00" | ||
template = "archive.html" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
+++ | ||
title = "Posts" | ||
sort_by = "date" | ||
paginate_by = 5 | ||
insert_anchor_links = "right" | ||
generate_feed = true | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
+++ | ||
title = "Création de l'association" | ||
date = "2024-05-16" | ||
+++ | ||
|
||
L'association `WIRO LOGICIEL LIBRE` à été fondée le 16 mai 2024. | ||
|
||
<!-- more --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
+++ | ||
title = "Tags" | ||
paginate_by = 10 | ||
generate_feed = true | ||
+++ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; | ||
}; | ||
|
||
outputs = { self, nixpkgs }: | ||
let | ||
inherit (nixpkgs.lib) genAttrs; | ||
|
||
forAllSystems = genAttrs [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ]; | ||
forAllPkgs = function: forAllSystems (system: function pkgs.${system}); | ||
|
||
pkgs = forAllSystems (system: (import nixpkgs { | ||
inherit system; | ||
overlays = [ ]; | ||
})); | ||
in | ||
{ | ||
formatter = forAllPkgs (pkgs: pkgs.nixpkgs-fmt); | ||
|
||
devShells = forAllPkgs (pkgs: | ||
with pkgs.lib; | ||
{ | ||
default = pkgs.mkShell rec { | ||
nativeBuildInputs = with pkgs; [ | ||
zola | ||
act | ||
]; | ||
buildInputs = with pkgs; [ ]; | ||
|
||
LD_LIBRARY_PATH = makeLibraryPath buildInputs; | ||
}; | ||
}); | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.post-content pre, | ||
.post-content pre code { | ||
border-radius: var(--radius); | ||
} | ||
.post-content pre code > table { | ||
display: table; | ||
margin: 10px auto; | ||
border-radius: var(--radius); | ||
border-spacing: 0; | ||
border-collapse: collapse; | ||
table-layout: fixed; | ||
width: 100%; | ||
} | ||
.post-content pre code > table td { | ||
vertical-align: top; | ||
padding: 0; | ||
margin: 0; | ||
border: 0; | ||
} | ||
.post-content pre code > table td:first-child { | ||
white-space: pre; | ||
user-select: none; | ||
margin: 0; | ||
padding: 0 1em 0 0; | ||
color: #7f7f7f; | ||
text-align: right; | ||
display: table-cell; | ||
max-width: 10%; | ||
} | ||
.post-content pre code > table td:nth-child(2) { | ||
width: 92%; | ||
} |
Oops, something went wrong.