Browse Source

update from webadmin

exegetes.eu.org crontab 7 years ago
parent
commit
a7d2d366c5
2 changed files with 7 additions and 1 deletions
  1. 6 0
      databags/liberapay.ini
  2. 1 1
      templates/layout.html

+ 6 - 0
databags/liberapay.ini

@@ -0,0 +1,6 @@
+[fr]
+liberapay = "https://fr.liberapay.com/Exegetes/widgets/button.js"
+
+[en]
+liberapay = "https://fr.liberapay.com/Exegetes/widgets/button.js"
+

+ 1 - 1
templates/layout.html

@@ -79,7 +79,7 @@
                 <p>{{ bag('description', this.alt, 'description') }}</p>
                 <a href="mailto:contact@exegetes.eu.org" class="author-social" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> Email</a>
                 <a href="http://twitter.com/lesExegetes" class="author-social" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a>
-                <script src="https://fr.liberapay.com/Exegetes/widgets/button.js"></script>
+                <script src="{{ bag('liberapay', this.alt, 'liberapay') }}"></script>
                 <noscript><a href="https://liberapay.com/Exegetes/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>
             </div>
         </div>