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 dfa63e8
Showing
160 changed files
with
10,336 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,23 @@ | ||
# This is file .gitignore | ||
# | ||
# (patterns for intentionally untracked files that Git should ignore) | ||
# | ||
## files generated by other operating systems: | ||
.DS_Store | ||
Thumbs.db | ||
# | ||
## files generated by GNU Emacs: | ||
.\#* | ||
\#*\# | ||
*.el | ||
*.elc | ||
*~ | ||
# | ||
## files and directories generated by Hugo or Node.js (npm): | ||
.hugo_build.lock | ||
/node_modules/ | ||
/public/ | ||
/resources/ | ||
# | ||
## directory for TrueType fonts and their licenses: | ||
/ttf/ |
Large diffs are not rendered by default.
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,17 @@ | ||
# Changelog | ||
|
||
All notable changes to the software code (but not to the contents) of this | ||
repository will be documented in the present file. | ||
The format is based on | ||
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
Moreover, the project adheres to (Gregorian and UTC) | ||
[Calendar Versioning](https://calver.org/overview.html), | ||
with short year `YY` (23..99), short month `MM` (1..12), and short day `DD` | ||
(1..31). | ||
The generic scheme for subtitles is therefore `## [YY.MM.DD] - YYYY-0M-0D`, | ||
where `YYYY` stands for full year (2023..9999), `0M` for zero-padded month | ||
(01..12), and `0D` for zero-padded day (01..31). | ||
|
||
## [23.5.24] - 2023-05-24 | ||
|
||
* First public release. |
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,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 Christian Scheen | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,58 @@ | ||
.DEFAULT_GOAL := serve | ||
|
||
help: ## Show all Makefile targets with help messages | ||
@echo ">>> make help: Showing all Makefile targets with help messages..." | ||
@grep --extended-regexp '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
@echo "... done." | ||
|
||
ginit: ## Initialize Git repository in current directory | ||
@if [ -d ".git/" ]; then \ | ||
echo ">>> make ginit: Doing nothing (Git repository already initialized)..."; \ | ||
git status --short; \ | ||
else \ | ||
echo ">>> make ginit: Initializing Git repository in current directory..."; \ | ||
git init --quiet; \ | ||
git branch --move main; \ | ||
git add .; \ | ||
git commit --message="Initial commit" --quiet; \ | ||
git status; \ | ||
fi | ||
@echo "... done." | ||
|
||
depend: ## Install Node.js postcss and purgecss packages | ||
@echo ">>> make depend: Installing Node.js postcss and purgecss packages..." | ||
@npm install postcss postcss-cli @fullhuman/postcss-purgecss | ||
@echo "... done." | ||
|
||
clean: ## Purge public/ and resources/ subdirectories | ||
@echo ">>> make clean: Purging public/ and resources/ subdirectories..." | ||
@rm --dir --force --recursive public/ | ||
@rm --dir --force --recursive resources/ | ||
@echo "... done." | ||
|
||
fonts: ## Make *.woff* Web fonts from ttf/ subdirectory | ||
@echo ">>> make fonts: Making *.woff* Web fonts from ttf/ subdirectory..." | ||
@cp --force ttf/OFL.txt static/webfonts/OFL.txt.Ysabeau | ||
@cp --force ttf/Ysabeau-Medium.ttf static/webfonts/ | ||
@cp --force ttf/Ysabeau-MediumItalic.ttf static/webfonts/ | ||
@cp --force ttf/Ysabeau-Bold.ttf static/webfonts/ | ||
@cp --force ttf/Ysabeau-BoldItalic.ttf static/webfonts/ | ||
@cp --force ttf/LICENSE static/webfonts/LICENSE.Feather | ||
@cp --force ttf/feather.ttf static/webfonts/ | ||
@for ttffile in static/webfonts/*.ttf; \ | ||
do \ | ||
sfnt2woff-zopfli $$ttffile; \ | ||
woff2_compress $$ttffile; \ | ||
rm --force $$ttffile; \ | ||
done | ||
@echo "... done." | ||
|
||
build: ginit clean ## Build and publish site in public/ subdirectory | ||
@echo ">>> make build: Building and publishing site in public/ subdirectory..." | ||
@hugo --enableGitInfo --environment production --gc --minify --verbose | ||
@echo "... done." | ||
|
||
serve: ginit clean ## Build and serve site with Hugo’s Web server | ||
@echo ">>> make serve: Building and serving site with Hugo’s Web server..." | ||
@hugo server --buildDrafts --disableFastRender --enableGitInfo --environment production --gc --ignoreCache --verbose --watch | ||
@echo "... done." |
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,44 @@ | ||
# *fa* dièse majeur | ||
|
||
This repository contains the (software code and contents) sources of | ||
[Christian Scheen](https://github.com/cscheen)’s | ||
[personal website](https://fadiesemajeur.fr/). | ||
It is a weblog (blog) powered by the | ||
[Hugo](https://gohugo.io/) | ||
static site generator (SSG), with the | ||
[Bulma](https://bulma.io/) | ||
CSS framework. | ||
The software code of the blog is released under the | ||
[MIT](https://opensource.org/license/mit/) | ||
license (from the Massachusetts Institute of Technology); it owes a great | ||
deal to | ||
[Janne Kemppainen](https://pakstech.com/)’s | ||
series of | ||
[blog posts](https://pakstech.com/series/blog-with-hugo/) | ||
written about Hugo. | ||
The contents of the blog, on the other hand, is published under the | ||
[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) | ||
license (Creative Commons Attribution-ShareAlike 4.0 International). | ||
|
||
The software code is intended for a personal website. | ||
As such, it is unlikely to be suitable for other projects; possible bug | ||
reports or pull requests will therefore remain politely (i.e., silently) | ||
unanswered. | ||
If the layout suits your needs, then please feel free to fork the | ||
repository. | ||
|
||
In a nutshell, the dependencies are as follows: | ||
* [Bulma](https://bulma.io/); | ||
* [Feather Icons](https://feathericons.com/); | ||
* [Git](https://git-scm.com/); | ||
* [GNU Awk](https://www.gnu.org/software/gawk/); | ||
* [GNU Grep](https://www.gnu.org/software/grep/); | ||
* [GNU Make](https://www.gnu.org/software/make/); | ||
* [Hugo](https://gohugo.io/); | ||
* [npm](https://www.npmjs.com/); | ||
* [PostCSS](https://postcss.org/); | ||
* [PostCSS CLI](https://github.com/postcss/postcss-cli); | ||
* [PurgeCSS](https://purgecss.com/); | ||
* [sfnt2woff-zopfli](https://github.com/bramstein/sfnt2woff-zopfli); | ||
* [woff2_compress](https://github.com/google/woff2); | ||
* [Ysabeau](https://github.com/CatharsisFonts/Ysabeau). |
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,14 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: "{{ now.Format "2006-01-02T15:04:05Z07:00" }}" | ||
lastmod: "{{ now.Format "2006-01-02T15:04:05Z07:00" }}" | ||
description: "{{ replace .Name "-" " " | title }}" | ||
sujets: ["Uncategorized"] | ||
noms: ["Untagged"] | ||
images: ["/img/fisdur.png"] | ||
#imgAuthor: "" | ||
#imgWebSite: "" | ||
#imgURL: "" | ||
type: "billets" | ||
draft: 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,9 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: "{{ now.Format "2006-01-02" }}" | ||
lastmod: "{{ now.Format "2006-01-02" }}" | ||
description: "{{ replace .Name "-" " " | title }}" | ||
images: ["/img/fisdur.png"] | ||
type: "page" | ||
draft: 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,9 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: "{{ now.Format "2006-01-02" }}" | ||
lastmod: "{{ now.Format "2006-01-02" }}" | ||
description: "{{ replace .Name "-" " " | title }}" | ||
images: ["/img/fisdur.png"] | ||
type: "noms" | ||
draft: 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,9 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: "{{ now.Format "2006-01-02" }}" | ||
lastmod: "{{ now.Format "2006-01-02" }}" | ||
description: "{{ replace .Name "-" " " | title }}" | ||
images: ["/img/fisdur.png"] | ||
type: "sujets" | ||
draft: 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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2022 Jeremy Thomas | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Oops, something went wrong.