commit 68ec310ae038dd658839a7f9504ddbe27eb4367d Author: stanislas Date: Fri Mar 21 19:44:55 2025 +0100 First commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e894d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Hugo +public/ +resources/ + +# Jetbrains +.idea/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..30667b8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal.git +[submodule "themes/hugo-theme-techdoc"] + path = themes/hugo-theme-techdoc + url = https://github.com/thingsym/hugo-theme-techdoc.git diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..44c7a11 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,25 @@ ++++ +title = 'jouf.fr' +date = 2025-03-20T22:44:33+01:00 +draft = false +description = "Accueil du site" +weight = 10 ++++ + +# Le site de stan + +Ici c'est chez moi, je fais ce que je veux, na ! + +Pour l'instant ce site est en construction, mais on espère qu'il sera très vite en place +et utilisable. + +L'objectif premier est de me familiariser avec la création de contenu sur le web. +Je commence avec ce site fait avec [Hugo][hugo-url]. + +Ce site contiendra sûrement aussi des trucs et astuces qui m'ont servis et que je +pourrai retrouver plus tard si besoin, mais que d'autres personnes aussi pourront +consulter si nécessaire ! + + + +[hugo-url]: https://gohugo.io/ diff --git a/content/a-propos.md b/content/a-propos.md new file mode 100644 index 0000000..c8765ca --- /dev/null +++ b/content/a-propos.md @@ -0,0 +1,20 @@ +--- +title: "A propos" +date: 2025-03-21T19:21:59+01:00 +lastmod: 2025-03-21T19:21:59+01:00 +publishdate: 2025-03-21T19:21:59+01:00 +description: "A propos du présent site" +weight: 10 +--- + +Salut, moi c'est stan. +Libriste, mappeur OSM, jeune papa, développeur Python/Java. + +C'est le premier site que je fais et je vais essayer d'en faire mon petit coin. +On verra si j'arrive à l'alimenter régulièrement... + +A priori, on va paler tech, je vais notamment détailler certains aspects de mes config +de PC, smartphone, site web, etc. +Ca me servira de mémo. +Je pense aussi qu'il va y avoir des recettes de cuisines. +Et puis tout le reste qu'on ne sait pas encore ! diff --git a/content/posts/Firefox.md b/content/posts/Firefox.md new file mode 100644 index 0000000..a6b02af --- /dev/null +++ b/content/posts/Firefox.md @@ -0,0 +1,10 @@ +--- +title: "Firefox" +date: 2025-03-20T23:01:19+01:00 +lastmod: 2025-03-20T23:01:19+01:00 +publishdate: 2025-03-20T23:01:19+01:00 +description: "desc" +weight: 10 +--- + +Lorem Ipsum. diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..037691a --- /dev/null +++ b/hugo.toml @@ -0,0 +1,118 @@ +baseURL = 'https://jouf.fr/accueil' +languageCode = 'fr-FR' +DefaultContentLanguage = "fr" +title = 'Le site de stan' +theme = "hugo-theme-techdoc" + +hasCJKLanguage = true + +defaultContentLanguage = "fr" +defaultContentLanguageInSubdir= false +enableMissingTranslationPlaceholders = false + +[params] + + # Source Code repository section + description = "Bienvenue chez moi" + github_repository = "https://github.com/thingsym/hugo-theme-techdoc" + version = "0.1.0" + + # Documentation repository section + # documentation repository (set edit link to documentation repository) + github_doc_repository = "https://github.com/thingsym/hugo-theme-techdoc" + github_doc_repository_branch = "master" + github_doc_repository_path = "" + + # Analytic section + google_analytics_id = "" # Your Google Analytics tracking id + tag_manager_container_id = "" # Your Google Tag Manager container id + google_site_verification = "" # Your Google Site Verification for Search Console + + # Open Graph and Twitter Cards settings section + # Open Graph settings for each page are set on the front matter. + # See https://gohugo.io/templates/internal/#open-graph + # See https://gohugo.io/templates/internal/#twitter-cards + title = "Hugo Techdoc Theme" + + # Theme settings section + # Theme color + # See color value reference https://developer.mozilla.org/en-US/docs/Web/CSS/color + custom_font_color = "" + custom_background_color = "" + + # Documentation Menu section + # Menu style settings + menu_style = "open-menu" # "open-menu" or "slide-menu" or "" blank is as no sidebar + + # Date format + dateformat = "02/01/2006" # default "2 Jan 2006" + # See the format reference https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference + + # path name excluded from documentation menu + menu_exclusion = [ + "archives", + "archive", + "blog", + "entry", + "post", + "posts", + ] + + # Algolia site search section + # See https://www.algolia.com/doc/ + algolia_search_enable = true + algolia_indexName = "hugo-demo-techdoc" + algolia_appId = "7W4SAN4PLK" + algolia_apiKey = "cbf12a63ff72d9c5dc0c10c195cf9128" # Search-Only API Key + +# Global menu section +# See https://gohugo.io/content-management/menus/ +[menu] + [[menu.main]] + name = "Accuel" + url = "/" + weight = 1 + identifier = 'accueil' + [[menu.main]] + name = "A propos" + url = "/a-propos" + weight = 10 + identifier = 'a-propos' + +# Markup configure section +# See https://gohugo.io/getting-started/configuration-markup/ +[markup] + defaultMarkdownHandler = "goldmark" + [markup.goldmark.renderer] + unsafe= true + [markup.tableOfContents] + startLevel = 2 + endLevel = 6 + ordered = false + +[outputs] + home = ["HTML", "RSS", "Algolia"] + +# Algolia Search configure section +[outputFormats.Algolia] + baseName = "algolia" + mediaType = "application/json" + isPlainText = true + notAlternative = true + +[params.algolia] + vars = [ + "title", + "summary", + "content", + "date", + "publishdate", + "description", + "permalink", + "keywords", + "lastmod", + ] + params = [ + "tags", + "categories", + ] \ No newline at end of file diff --git a/themes/hugo-theme-techdoc b/themes/hugo-theme-techdoc new file mode 160000 index 0000000..595a948 --- /dev/null +++ b/themes/hugo-theme-techdoc @@ -0,0 +1 @@ +Subproject commit 595a9485fa85822873e6c9ac738edfd6ba30413d diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..a2daa38 --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit a2daa38408002bb0f123f83cbc88442ee1e13a1b