From 86dea5d7e14505605cf465f8d42dda7a84520e95 Mon Sep 17 00:00:00 2001 From: Romain de Laage Date: Mon, 20 Jul 2020 10:44:30 +0200 Subject: [PATCH] First commit --- .gitmodules | 6 ++++ archetypes/default.md | 6 ++++ config.toml | 74 +++++++++++++++++++++++++++++++++++++++++++ content/posts | 1 + themes/terminal | 1 + 5 files changed, 88 insertions(+) create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 160000 content/posts create mode 160000 themes/terminal diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3535888 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal.git +[submodule "content/posts"] + path = content/posts + url = https://git.rdelaage.ovh/rdelaage/articles-blog.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..c846347 --- /dev/null +++ b/config.toml @@ -0,0 +1,74 @@ +baseURL = "https://rdelaage.ovh/blog" +title = "Blog de Romain de Laage" +languageCode = "fr-fr" +theme = "terminal" +paginate = 5 + +[params] + # dir name of your main content (default is `content/posts`). + # the list of set content will show up on your index page (baseurl). + contentTypeName = "posts" + + # ["orange", "blue", "red", "green", "pink"] + themeColor = "orange" + + # if you set this to 0, only submenu trigger will be visible + showMenuItems = 2 + + # show selector to switch language + showLanguageSelector = false + + # set theme to full screen width + fullWidthTheme = false + + # center theme with default width + centerTheme = false + + # set a custom favicon (default is a `themeColor` square) + # favicon = "favicon.ico" + + # set post to show the last updated + # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated + showLastUpdated = false + # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author + # updatedDatePrefix = "Updated" + + # set all headings to their default size (depending on browser settings) + # it's set to `true` by default + # oneHeadingSize = false + +#[params.twitter] + # set Twitter handles for Twitter cards + # see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution + # do not include @ +# creator = "" +# site = "" + +[languages] + [languages.fr] + languageName = "Français" + title = "Romain de Laage" + subtitle = "Le blog d'un étudiant en informatique" + owner = "" + keywords = "" + copyright = "CC-BY-SA" + menuMore = "Plus" + readMore = "Plus" + readOtherPosts = "Lire d'autres articles" + missingContentMessage = "Cette page n'existe pas..." + missingBackButtonLabel = "Revenir au menu" + + [languages.fr.params.logo] + logoText = "rdelaage" + logoHomeLink = "https://rdelaage.ovh/blog" + + [languages.fr.menu] + [[languages.fr.menu.main]] + identifier = "about" + name = "À propos" + url = "/about" + [[languages.fr.menu.main]] + identifier = "showcase" + name = "Vitrine" + url = "/showcase" + diff --git a/content/posts b/content/posts new file mode 160000 index 0000000..f74e3c2 --- /dev/null +++ b/content/posts @@ -0,0 +1 @@ +Subproject commit f74e3c230013553b41084c38dd00363236f137f6 diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..6404a48 --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit 6404a48fe385a70a8ca22e9da72839c9709665de