Initial commit
This commit is contained in:
commit
51b57c647c
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.lock
|
||||||
|
|
||||||
|
resources/_gen
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "themes/hugo-bootstrap-theme"]
|
||||||
|
path = themes/hugo-bootstrap-theme
|
||||||
|
url = https://github.com/filipecarneiro/hugo-bootstrap-theme.git
|
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
+++
|
||||||
|
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
date = {{ .Date }}
|
||||||
|
draft = true
|
||||||
|
+++
|
52
config/_default/config.toml
Normal file
52
config/_default/config.toml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
baseURL = 'https://barbel.synology.me/'
|
||||||
|
title = "Généalogie et Inormatique"
|
||||||
|
author = "Yannick Barbel"
|
||||||
|
copyright = "Open-source <a class=\"text-muted text-decoration-none\" href=\"https://github.com/filipecarneiro/hugo-bootstrap-theme/blob/main/LICENSE\">MIT</a> Licensed."
|
||||||
|
|
||||||
|
languageCode = "fr" # For the internal RSS template (and for the html lang attribute)
|
||||||
|
DefaultContentLanguage = "fr"
|
||||||
|
timeZone = 'Europe/Paris'
|
||||||
|
|
||||||
|
# Multilingual
|
||||||
|
defaultContentLanguage = "fr"
|
||||||
|
defaultContentLanguageInSubdir = false
|
||||||
|
|
||||||
|
theme = "hugo-bootstrap-theme"
|
||||||
|
themesdir = "./themes"
|
||||||
|
|
||||||
|
disableHugoGeneratorInject = true
|
||||||
|
enableRobotsTXT = true
|
||||||
|
enableGitInfo = true
|
||||||
|
enableEmoji = true
|
||||||
|
#sectionPagesMenu = "main"
|
||||||
|
#googleAnalytics = "UA-1511XXXX-X"
|
||||||
|
|
||||||
|
[frontmatter]
|
||||||
|
date = ["date", "publishDate", "lastmod"]
|
||||||
|
lastmod = ["lastmod", ":fileModTime", ":default"]
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
tag = "tags"
|
||||||
|
category = "categories"
|
||||||
|
series = 'series'
|
||||||
|
author = "authors"
|
||||||
|
|
||||||
|
[sitemap]
|
||||||
|
changefreq = "weekly"
|
||||||
|
filename = "sitemap.xml"
|
||||||
|
priority = 0.5
|
||||||
|
|
||||||
|
[permalinks]
|
||||||
|
# post = "/post/:title/"
|
||||||
|
|
||||||
|
[module]
|
||||||
|
[module.hugoVersion]
|
||||||
|
extended = true
|
||||||
|
min = "0.99.1"
|
||||||
|
max = ""
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "assets"
|
||||||
|
target = "assets"
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "static"
|
||||||
|
target = "static"
|
13
config/_default/languages.toml
Normal file
13
config/_default/languages.toml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[fr]
|
||||||
|
languageName = "Français"
|
||||||
|
languageCode = "fr-FR"
|
||||||
|
weight = 10
|
||||||
|
[fr.params]
|
||||||
|
languageISO = "FR"
|
||||||
|
|
||||||
|
[en]
|
||||||
|
languageName = "English"
|
||||||
|
languageCode = "en-US"
|
||||||
|
weight = 20
|
||||||
|
[en.params]
|
||||||
|
languageISO = "EN"
|
29
config/_default/markup.toml
Normal file
29
config/_default/markup.toml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
defaultMarkdownHandler = "goldmark"
|
||||||
|
|
||||||
|
[goldmark]
|
||||||
|
|
||||||
|
[goldmark.extensions]
|
||||||
|
definitionList = true
|
||||||
|
footnote = true
|
||||||
|
linkify = true
|
||||||
|
strikethrough = true
|
||||||
|
table = true
|
||||||
|
taskList = true
|
||||||
|
typographer = true
|
||||||
|
|
||||||
|
[goldmark.parser]
|
||||||
|
autoHeadingID = true
|
||||||
|
|
||||||
|
[goldmark.parser.attribute]
|
||||||
|
block = true
|
||||||
|
title = true
|
||||||
|
|
||||||
|
[goldmark.renderer]
|
||||||
|
hardWraps = false
|
||||||
|
unsafe = true
|
||||||
|
xHTML = false
|
||||||
|
|
||||||
|
[tableOfContents]
|
||||||
|
endLevel = 3
|
||||||
|
ordered = false
|
||||||
|
startLevel = 2
|
50
config/_default/menus/menu.fr.toml
Normal file
50
config/_default/menus/menu.fr.toml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[[main]]
|
||||||
|
name = "Home"
|
||||||
|
url = ""
|
||||||
|
weight = 10
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "A propos"
|
||||||
|
url = "about.fr"
|
||||||
|
weight = 20
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "blog"
|
||||||
|
name = "Blog"
|
||||||
|
weight = 40
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "All"
|
||||||
|
url = "post"
|
||||||
|
weight = 100
|
||||||
|
parent = "blog"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "Hugo"
|
||||||
|
url = "tags/hugo"
|
||||||
|
weight = 20
|
||||||
|
parent = "blog"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "Bootstrap"
|
||||||
|
url = "tags/bootstrap"
|
||||||
|
weight = 30
|
||||||
|
parent = "blog"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "docs"
|
||||||
|
name = "Docs"
|
||||||
|
url = "page"
|
||||||
|
weight = 50
|
||||||
|
|
||||||
|
[[social]]
|
||||||
|
name = "GitHub"
|
||||||
|
pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-github'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#github'/></svg>"
|
||||||
|
url = "https://github.com/filipecarneiro/hugo-bootstrap-theme/"
|
||||||
|
weight = 10
|
||||||
|
|
||||||
|
[[social]]
|
||||||
|
name = "Twitter"
|
||||||
|
pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-twitter'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#twitter'/></svg>"
|
||||||
|
url = "https://twitter.com/jfilipecarneiro/"
|
||||||
|
weight = 20
|
50
config/_default/menus/menus.en.toml
Normal file
50
config/_default/menus/menus.en.toml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[[main]]
|
||||||
|
name = "Home"
|
||||||
|
url = ""
|
||||||
|
weight = 10
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "About"
|
||||||
|
url = "about"
|
||||||
|
weight = 20
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "blog"
|
||||||
|
name = "Blog"
|
||||||
|
weight = 40
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "All"
|
||||||
|
url = "post"
|
||||||
|
weight = 100
|
||||||
|
parent = "blog"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "Hugo"
|
||||||
|
url = "tags/hugo"
|
||||||
|
weight = 20
|
||||||
|
parent = "blog"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "Bootstrap"
|
||||||
|
url = "tags/bootstrap"
|
||||||
|
weight = 30
|
||||||
|
parent = "blog"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "docs"
|
||||||
|
name = "Docs"
|
||||||
|
url = "page"
|
||||||
|
weight = 50
|
||||||
|
|
||||||
|
[[social]]
|
||||||
|
name = "GitHub"
|
||||||
|
pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-github'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#github'/></svg>"
|
||||||
|
url = "https://github.com/filipecarneiro/hugo-bootstrap-theme/"
|
||||||
|
weight = 10
|
||||||
|
|
||||||
|
[[social]]
|
||||||
|
name = "Twitter"
|
||||||
|
pre = "<svg xmlns='http://www.w3.org/2000/svg' class='feather feather-twitter'><use href='/hugo-bootstrap-theme/images/feather/feather-sprite.svg#twitter'/></svg>"
|
||||||
|
url = "https://twitter.com/jfilipecarneiro/"
|
||||||
|
weight = 20
|
30
config/_default/params.toml
Normal file
30
config/_default/params.toml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Site Params
|
||||||
|
|
||||||
|
# Open Graph, Twitter Cards and schema.org Thing and Article (in posts)
|
||||||
|
# https://gohugo.io/templates/internal/#open-graph
|
||||||
|
# https://gohugo.io/templates/internal/#twitter-cards
|
||||||
|
# https://schema.org/Thing
|
||||||
|
# https://schema.org/Article
|
||||||
|
description = "Hugo theme for a secure, blazing fast and SEO-ready static website, using Bootstrap 5."
|
||||||
|
images = ['images/logo.svg','images/site-feature-image.png']
|
||||||
|
mainMenuLogo = "images/logo.svg"
|
||||||
|
|
||||||
|
# For favicons
|
||||||
|
## Chrome Browser
|
||||||
|
themeColor = "#fff"
|
||||||
|
|
||||||
|
# Alert
|
||||||
|
alert = false
|
||||||
|
alertDismissable = true
|
||||||
|
alertText = "Introducing this new service! <a class=\"alert-link stretched-link\" href=\"https://salvus.site/\">Check out Total Security</a>"
|
||||||
|
|
||||||
|
# Pre-footer
|
||||||
|
footerAbout = true
|
||||||
|
footerAboutTitle = "Few Words About Us"
|
||||||
|
footerAboutText = "We protect your website so you can provide a safe environment to build trust and improve the user experience of your visitors.<br/><br/>Salvus Site is the partner that you can rely on for preventive and reactive cybersecurity."
|
||||||
|
|
||||||
|
[options]
|
||||||
|
bootStrapJs = true
|
||||||
|
breadCrumb = true
|
||||||
|
listCategoryFilter = true
|
||||||
|
listTagFilter = true
|
8
content/about.en.md
Normal file
8
content/about.en.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: "About"
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# About this site
|
||||||
|
|
||||||
|
Lorem ipsum dolor sic amet.
|
8
content/about.fr.md
Normal file
8
content/about.fr.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: "A propos"
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# A propos de ce site
|
||||||
|
|
||||||
|
Lorem ipsum dolor sic amet.
|
5
content/authors/_index.md
Normal file
5
content/authors/_index.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: Yannick Barbel
|
||||||
|
---
|
||||||
|
|
||||||
|
Yannick Barbel
|
6
content/page/_index.md
Normal file
6
content/page/_index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
+++
|
||||||
|
aliases = ["pages", "docs"]
|
||||||
|
title = "Docs"
|
||||||
|
authors = ["Filipe Carneiro"]
|
||||||
|
tags = ["index"]
|
||||||
|
+++
|
6
content/post/_index.md
Normal file
6
content/post/_index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
+++
|
||||||
|
aliases = ["posts", "blog"]
|
||||||
|
title = "Articles"
|
||||||
|
authors = ["Yannick Barbel"]
|
||||||
|
tags = ["index"]
|
||||||
|
+++
|
1
themes/hugo-bootstrap-theme
Submodule
1
themes/hugo-bootstrap-theme
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit b9c16a29ae6a38271ff1c8be5f47da6ee3246d05
|
Loading…
Reference in New Issue
Block a user