adjusting piwik tracking code
[ryf-theme.git] / modules / footer / templates / footer.html.twig
index 98c6924da8ebab7b1b0e78b0a76a64c8fa9c2111..71de9803f567acf69a4346f45ac95e133465fedd 100644 (file)
@@ -1,48 +1,33 @@
-<div class="container">
-<div class="col-md-4">
-<div class="ryf-footer">
-<img alt="Free Software Foundation" class="img-responsive" id="fsf-logo-footer" src="/themes/custom/ryf/images/fsf-logo.svg" />
-<p>The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom.</p>
-
-<p>We defend the rights of all software users. (<a href="//fsf.org">Read more</a>)</p>
-</div>
-</div>
-
-<div class="col-md-offset-2 col-md-3">
-<div class="campaigns">
-<h4>Campaigns</h4>
-
-<ul>
-       <li><a href="/campaigns/priority-projects/">High Priority Free Software Projects</a></li>
-       <li><a href="/campaigns/freejs/">Free JavaScript</a></li>
-       <li><a href="/campaigns/campaigns/secure-boot-vs-restricted-boot/">Secure Boot vs Restricted Boot</a></li>
-       <li><a href="https://www.gnu.org/">GNU Operating System</a></li>
-       <li><a href="https://defectivebydesign.org/">Defective by Design</a></li>
-       <li><i><a href="https://www.fsf.org/campaigns">See all campaigns</a></i></li>
-</ul>
-</div>
-<!-- .campaigns --></div>
-
-<div class="col-md-3">
-<div class="get-involved">
-<h4>Get Involved</h4>
-
-<ul>
-       {% for this_menu in menu_array %}
-               <li>
-                       <a class="footer-link" href="{{ this_menu.url }}">{{ this_menu.title }}</a>
-               </li>
-       {% endfor %}
-</ul>
-</div>
-<!-- .get-involved --></div>
-</div>
 
 <div class="container copyright">
        <p>Send your feedback on our translations and new translations of pages to <a href="mailto:campaigns@fsf.org">campaigns@fsf.org</a>.</p>
 
        <p>Copyright © 2013–{{ "now"|date("Y") }} <a href="//fsf.org/about/contact.html" title="Find out how to contact us">Free Software Foundation</a>, Inc.
-       <a href="https://my.fsf.org/donate/privacypolicy.html">Privacy Policy</a>, <a href="/weblabels" rel="jslicense">JavaScript license information</a>
+       <a href="https://www.fsf.org/about/free-software-foundation-privacy-policy">Privacy Policy</a>, <a href="/weblabels" rel="jslicense">JavaScript license information</a>
         </p>
+
+       <p>This work is licensed under a <a href="https://creativecommons.org/licenses/by-nd/3.0/">Creative
+                               Commons Attribution-No Derivative Works 3.0 license (or later
+                               version)</a> — <a href="https://www.gnu.org/licenses/license-list.html#OpinionLicenses">Why this license?</a>
+       </p>
 </div>
 
+
+<!-- Matomo -->
+<script type="text/javascript">
+  // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
+  var _paq = window._paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="https://piwik.fsf.org/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '17']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+  // @license-end
+</script>
+<!-- End Matomo Code -->
+