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
- 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

4
.gitignore vendored
View file

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

View file

@ -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

View file

@ -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.

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>