From 87aea8616b92a3cd83364f1e52cbe01c0a8f3fd1 Mon Sep 17 00:00:00 2001 From: AG Damsbo Date: Fri, 23 Jun 2023 13:37:52 +0200 Subject: [PATCH] Tilrettelse og inklusion af tracking script til Umami --- .github/workflows/render-publish.yml | 6 +++--- .gitignore | 4 +++- _quarto.yml | 15 ++++++++++++--- index.qmd | 6 ++++-- umami.html | 1 + 5 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 umami.html diff --git a/.github/workflows/render-publish.yml b/.github/workflows/render-publish.yml index 8aeddec..09af233 100644 --- a/.github/workflows/render-publish.yml +++ b/.github/workflows/render-publish.yml @@ -36,9 +36,9 @@ jobs: uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v1 - with: - # Upload entire repository - path: 'docs/' + # with: + # # Upload entire repository + # path: 'docs/' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 diff --git a/.gitignore b/.gitignore index 027bc89..752c17b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,7 +40,7 @@ vignettes/*.pdf .Renviron # pkgdown site -docs/ +_site/ # translation temp files po/*~ @@ -49,3 +49,5 @@ po/*~ rsconnect/ .DS_Store + +/.quarto/ diff --git a/_quarto.yml b/_quarto.yml index 00f065e..a4d0778 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -1,6 +1,5 @@ project: type: website - output-dir: docs resources: - CNAME @@ -15,19 +14,29 @@ website: text: Opskrifter - href: blog.qmd text: Blog + right: + - href: https://github.com/agdamsbo/familien.gdamsbo + text: Source + page-footer: + background: light + center: | + Lavet med [Quarto](https://quarto.org/) i [RStudio]() | Statistics with [Umami](https://stats.nikohuru.dk/share/qpECsH3GvxLM5L92/fam.gdamsbo) + format: html: code-fold: true + message: false + warning: false code-overflow: wrap theme: dark: solar light: lumen - # css: styles.css + css: styles.css toc: true link-external-newwindow: true link-external-icon: false - # include-in-header: umami.html + include-in-header: umami.html editor: visual diff --git a/index.qmd b/index.qmd index 20cc208..895ded9 100644 --- a/index.qmd +++ b/index.qmd @@ -1,9 +1,11 @@ --- title: "Familien G Damsbo" about: - template: trestles + template: jolla --- Hej! Velkommen til vores familieside. -Til en start er her bare lidt opskrifter og en rejsedagbog. +Til en start er her bare lidt opskrifter og starten på en rejsedagbog. + +Det hele er lavet i Quarto og R. Det er let tilgængeligt, frit og åbent. diff --git a/umami.html b/umami.html new file mode 100644 index 0000000..cb6daf5 --- /dev/null +++ b/umami.html @@ -0,0 +1 @@ +