From a9df486b922fb8215eeac7c154c711c3a004ba09 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Fri, 21 Apr 2023 15:50:41 -0400 Subject: [PATCH] First draft --- .drone.yml | 40 ++++++++++++++++++++++++++++++++++++++++ config.toml | 18 +++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..736174b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: clone_quartz + image: alpine/git + commands: + - cd /tmp/ + - git clone -b hugo https://code.ndumas.com/ndumas/quartz.git + volumes: + - name: quartz + path: /tmp/quartz +steps: +- name: clone_vault + image: alpine/git + commands: + - cd /tmp/quartz/content/ + - git clone -b hugo https://code.ndumas.com/ndumas/obsidian-vault.git + volumes: + - name: quartz + path: /tmp/quartz +steps: +- name: build_quartz + image: code.ndumas.com/ndumas/quartz:latest + commands: + - cd /tmp/quartz/content/ + - git clone -b hugo https://code.ndumas.com/ndumas/obsidian-vault.git + - cd .. + - hugo-obsidian -input=content -output=assets/indices -index -root=. + - hugo --enableGitInfo --minify + volumes: + - name: quartz + path: /tmp/quartz + +volumes: +- name: quartz + temp: {} +--- diff --git a/config.toml b/config.toml index dbe9893..5dd49af 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,7 @@ -baseURL = "https://quartz.jzhao.xyz/" +baseURL = "https://notes.ndumas.com" languageCode = "en-us" +pygmentsUseClasses = true +enableRecentNotes = true relativeURLs = false disablePathToLower = true ignoreFiles = [ @@ -9,6 +11,20 @@ ignoreFiles = [ summaryLength = 20 paginate = 10 enableGitInfo = true +copyright = 'This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.' + +[author] + name = "Nick Dumas" + +[permalinks] + notes = "/:year/:month/:filename" + +[params] + analyticsURL = "analytics.ndumas.com" + +[taxonomies] + tag = "tags" + series = "series" [markup] [markup.tableOfContents]