Tilrettelse og inklusion af tracking script til Umami

This commit is contained in:
Andreas Gammelgaard Damsbo 2023-06-23 13:37:52 +02:00
parent 4abe8b825c
commit 87aea8616b
5 changed files with 23 additions and 9 deletions

View file

@ -36,9 +36,9 @@ jobs:
uses: actions/configure-pages@v3 uses: actions/configure-pages@v3
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: # with:
# Upload entire repository # # Upload entire repository
path: 'docs/' # path: 'docs/'
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v2 uses: actions/deploy-pages@v2

4
.gitignore vendored
View file

@ -40,7 +40,7 @@ vignettes/*.pdf
.Renviron .Renviron
# pkgdown site # pkgdown site
docs/ _site/
# translation temp files # translation temp files
po/*~ po/*~
@ -49,3 +49,5 @@ po/*~
rsconnect/ rsconnect/
.DS_Store .DS_Store
/.quarto/

View file

@ -1,6 +1,5 @@
project: project:
type: website type: website
output-dir: docs
resources: resources:
- CNAME - CNAME
@ -15,19 +14,29 @@ website:
text: Opskrifter text: Opskrifter
- href: blog.qmd - href: blog.qmd
text: Blog 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: format:
html: html:
code-fold: true code-fold: true
message: false
warning: false
code-overflow: wrap code-overflow: wrap
theme: theme:
dark: solar dark: solar
light: lumen light: lumen
# css: styles.css css: styles.css
toc: true toc: true
link-external-newwindow: true link-external-newwindow: true
link-external-icon: false link-external-icon: false
# include-in-header: umami.html include-in-header: umami.html
editor: visual editor: visual

View file

@ -1,9 +1,11 @@
--- ---
title: "Familien G Damsbo" title: "Familien G Damsbo"
about: about:
template: trestles template: jolla
--- ---
Hej! Velkommen til vores familieside. 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.

1
umami.html Normal file
View file

@ -0,0 +1 @@
<script async src="https://stats.nikohuru.dk/script.js" data-website-id="a4d92881-2a72-4d85-ac3c-6864e87b9881"></script>