Switch to plausible

This commit is contained in:
CrazyMax
2021-06-11 19:39:19 +02:00
parent fe4ccc6043
commit 62215197f2
3 changed files with 11 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
<p align="center"><a href="https://crazy-max.github.io/diun/" target="_blank"><img height="128" src="https://raw.githubusercontent.com/crazy-max/diun/master/.res/diun.png"></a></p>
<p align="center"><a href="https://crazymax.dev/diun/" target="_blank"><img height="128" src="https://raw.githubusercontent.com/crazy-max/diun/master/.res/diun.png"></a></p>
<p align="center">
<a href="https://crazy-max.github.io/diun/"><img src="https://img.shields.io/badge/doc-mkdocs-02a6f2?style=flat-square&logo=read-the-docs" alt="Documentation"></a>
<a href="https://crazymax.dev/diun/"><img src="https://img.shields.io/badge/doc-mkdocs-02a6f2?style=flat-square&logo=read-the-docs" alt="Documentation"></a>
<a href="https://github.com/crazy-max/diun/releases/latest"><img src="https://img.shields.io/github/release/crazy-max/diun.svg?style=flat-square" alt="GitHub release"></a>
<a href="https://github.com/crazy-max/diun/releases/latest"><img src="https://img.shields.io/github/downloads/crazy-max/diun/total.svg?style=flat-square" alt="Total downloads"></a>
<a href="https://github.com/crazy-max/diun/actions?workflow=build"><img src="https://img.shields.io/github/workflow/status/crazy-max/diun/build?label=build&logo=github&style=flat-square" alt="Build Status"></a>
@@ -25,7 +25,7 @@ a Docker registry.
## Documentation
Documentation can be found on https://crazy-max.github.io/diun/
Documentation can be found on https://crazymax.dev/diun/
## How can I help?

View File

@@ -10,6 +10,10 @@
{% set assets = config.site_url ~ 'assets' %}
{% block extrahead %}
<link rel="preconnect" href="https://{{ config.extra.plausible.server }}">
<script defer data-domain="{{ config.extra.plausible.domain }}" src="https://{{ config.extra.plausible.server }}/js/plausible.outbound-links.js" ></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
<meta name="application-name" content="{{ config.site_name }}">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="{{ assets }}/meta/mstile-144x144.png">

View File

@@ -1,7 +1,7 @@
site_name: Diun
site_description: Receive notifications when a Docker image is updated on a Docker registry
site_author: CrazyMax
site_url: https://crazy-max.github.io/diun/
site_url: https://crazymax.dev/diun/
edit_uri: edit/master/docs/
docs_dir: docs
@@ -19,6 +19,9 @@ extra:
link: https://github.com/crazy-max/diun
- icon: fontawesome/brands/twitter
link: https://twitter.com/crazyws
plausible:
server: plausible.re4per.com
domain: crazymax.dev/diun
theme:
name: material
@@ -79,10 +82,6 @@ plugins:
lang:
- en
google_analytics:
- UA-12516800-10
- auto
nav:
- Home: index.md
- Installation: