commit edbfee3385751c3015a786c51d5c1e734da53398 Author: Eorn Date: Sat Apr 11 20:01:23 2020 +0200 First clean commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f8d908b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,52 @@ +kind: pipeline +name: default + +steps: +- name: prends_des_branches + image: alpine/git + commands: + - git submodule init + - git submodule update --recursive --remote + +- name: construis_ton_nid + image: plugins/hugo + settings: + hugo_version: 0.68.3 + extended: false + validate: true + # config: hugo/config.toml + # content: hugo/content + # layout: hugo/layout + # output: hugo/public + # theme: hugo/themes/hugo-theme-hello-friend-ng/ + url: https://blog.goe.land + +- name: read + image: alpine/git + commands: + - ls + - ls public/ + +- name: deploie_tes_ailes + image: appleboy/drone-scp + settings: + host: {from_secret: SCP_HOSTNAME} + port: {from_secret: SCP_PORT} + username: {from_secret: SCP_USERNAME} + password: {from_secret: SCP_PASSWORD} + source: public/ + strip_components: 1 + #target: {from_secret: SCP_TARGET_DIRECTORY} + target: /srv/apps/blog/data/www/public + rm: true + +- name: rereveille_toi + image: appleboy/drone-ssh + settings: + host: {from_secret: SCP_HOSTNAME} + port: {from_secret: SCP_PORT} + username: {from_secret: SCP_USERNAME} + password: {from_secret: SCP_PASSWORD} + script: + #- {from_secret: SSH_COMMAND} + - docker-compose -f /srv/apps/blog/docker-compose.yml restart diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b2cf84a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,15 @@ +[submodule "themes/hugo-theme-hello-friend-ng"] + path = themes/hello-friend-ng + url = https://github.com/rhazdon/hugo-theme-hello-friend-ng.git +[submodule "themes/hugo-dusk"] + path = themes/hugo-dusk + url = https://github.com/gyorb/hugo-dusk +[submodule "themes/darksimplicity"] + path = themes/darksimplicity + url = https://github.com/kritoke/darksimplicity +[submodule "themes/hugo-theme-zzo"] + path = themes/hugo-theme-zzo + url = https://github.com/zzossig/hugo-theme-zzo +[submodule "themes/simple-goeland"] + path = themes/simple-goeland + url = https://forge.goe.land/eorn/simple-goeland.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..066be92 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# blog + +Le dépôt de mon blog, tout inclus. \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..52fdbc8 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,8 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +description: "" +tags: ["", ""] +draft: true +--- + diff --git a/archetypes/post-bundle/index.md b/archetypes/post-bundle/index.md new file mode 100644 index 0000000..0b6c367 --- /dev/null +++ b/archetypes/post-bundle/index.md @@ -0,0 +1,7 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +description: "" +tags: ["", ""] +draft: false +--- diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..a6f04a2 --- /dev/null +++ b/config.toml @@ -0,0 +1,49 @@ +baseURL = "https://blog.goe.land" +title = "Le nid d'Eorn" +theme = "simple-goeland" +copyright="Copyleft eorn." +languageCode = "fr" +defaultContentLanguage = "fr" +sectionPagesMenu = "main" +pluralizelisttitles = "false" +paginate = 10 + +[params.rss] +includeContent = true +authorName = "Eorn le goéland" +authorEmail = "blog@goe.land" +limit = 20 + +[params.info] +enableSocial = true +poweredby = true +related = true +taxonomiesCount = true + +[params.social] +pleroma = "https://kayii.goe.land/users/eorn" +pixelfed = "https://pix.goe.land/eorn" +gitea = "https://forge.goe.land/eorn" +rss = "index.xml" + +[params.social.config] +platforms = ["pleroma", "pixelfed", "gitea", "rss"] + +#[params.matomoAnalytics] +#siteID=1 +#rootURL = "https://matomo.goe.land" + +[taxonomies] +tag = "tags" + +[languages] + [languages.fr] + languageName = "Français" + languageCode = "fr" + title = "Le nid d'Eorn" + weight = 1 + [languages.en] + languageCode = "en" + languageName = "English" + title = "Eorn's nest" + weight = 2 diff --git a/content/culture/_index.md b/content/culture/_index.md new file mode 100644 index 0000000..4b481cb --- /dev/null +++ b/content/culture/_index.md @@ -0,0 +1,3 @@ +--- +title: "Culture" +--- diff --git a/content/culture/balados/_index.md b/content/culture/balados/_index.md new file mode 100644 index 0000000..41dadf6 --- /dev/null +++ b/content/culture/balados/_index.md @@ -0,0 +1,3 @@ +--- +title: "Balados" +--- diff --git a/content/humeur/_index.md b/content/humeur/_index.md new file mode 100644 index 0000000..6653871 --- /dev/null +++ b/content/humeur/_index.md @@ -0,0 +1,3 @@ +--- +title: "Humeur" +--- diff --git a/content/science/_index.md b/content/science/_index.md new file mode 100644 index 0000000..b0273a9 --- /dev/null +++ b/content/science/_index.md @@ -0,0 +1,3 @@ +--- +title: "Science" +--- diff --git a/content/science/analyse/_index.md b/content/science/analyse/_index.md new file mode 100644 index 0000000..0780a61 --- /dev/null +++ b/content/science/analyse/_index.md @@ -0,0 +1,3 @@ +--- +title: "Analyse de données" +--- diff --git a/content/tech/_index.md b/content/tech/_index.md new file mode 100644 index 0000000..8b3c0e2 --- /dev/null +++ b/content/tech/_index.md @@ -0,0 +1,3 @@ +--- +title: "Numérique et tech" +--- diff --git a/content/tech/bidouille/_index.md b/content/tech/bidouille/_index.md new file mode 100644 index 0000000..bffe25b --- /dev/null +++ b/content/tech/bidouille/_index.md @@ -0,0 +1,3 @@ +--- +title: "Bidouille" +--- diff --git a/content/tech/hygiène/_index.md b/content/tech/hygiène/_index.md new file mode 100644 index 0000000..167a083 --- /dev/null +++ b/content/tech/hygiène/_index.md @@ -0,0 +1,3 @@ +--- +title: "Hygiène numérique" +--- diff --git a/themes/simple-goeland b/themes/simple-goeland new file mode 160000 index 0000000..cd385c8 --- /dev/null +++ b/themes/simple-goeland @@ -0,0 +1 @@ +Subproject commit cd385c8aff107d1e4edf01f9b057ccac34649778