From 856a36b210311bc549ef0e8226ab741b3c389504 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 13 Jul 2020 10:49:42 -0400 Subject: Add web monetization to theme --- config.toml.example | 2 ++ layouts/partials/head.html | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/config.toml.example b/config.toml.example index 9c365d2..4fff165 100644 --- a/config.toml.example +++ b/config.toml.example @@ -13,6 +13,8 @@ theme = "indigo" ShowBio = true PermalinkText = "🔗" mainSections = ["post"] + # Web Monetization only works on secure pages served over HTTPS. + paymentPointer = "" # Contact/social-network identifiers for social icons EmailAddress = "email.address@example.com" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7c07bcd..5900d2c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -26,6 +26,10 @@ {{ end }} {{ with .Site.Params.endpoints.Webmention}} {{ end }} + {{ with .Site.Params.paymentPointer }} + + + {{ end }} -- cgit v1.2.3