You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/04/19 10:06:14 UTC

[incubator-pekko-sbt-paradox] branch main updated: disallow google analytics and google fonts (#54)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-sbt-paradox.git


The following commit(s) were added to refs/heads/main by this push:
     new 68da310  disallow google analytics and google fonts (#54)
68da310 is described below

commit 68da3106f8431b2e77f0429f3947d622f47dc6b8
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Apr 19 12:06:09 2023 +0200

    disallow google analytics and google fonts (#54)
---
 theme/src/main/assets/page.st | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/theme/src/main/assets/page.st b/theme/src/main/assets/page.st
index d49bdaf..3bb0bd7 100644
--- a/theme/src/main/assets/page.st
+++ b/theme/src/main/assets/page.st
@@ -64,13 +64,6 @@ $!
     <link rel="stylesheet" href="$page.base$lib/material__tabs/dist/mdc.tabs.min.css">
     <link rel="stylesheet" href="$page.base$lib/prettify/prettify.css">
     <script src="$page.base$assets/javascripts/modernizr.1aa3b519.js"></script>
-    $ if (page.properties.("material.font.text")) $
-      <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=$page.properties.("material.font.text.url")$:300,400,400i,700|$page.properties.("material.font.code.url")$">
-      <style>
-        body,input{font-family:"$page.properties.("material.font.text")$","Helvetica Neue",Helvetica,Arial,sans-serif}
-        code,kbd,pre{font-family:"$page.properties.("material.font.code")$","Courier New",Courier,monospace}
-      </style>
-    $ endif $
     <link rel="stylesheet" href="$page.base$assets/fonts/font-awesome.css">
     <link rel="stylesheet" href="$page.base$assets/fonts/material-icons.css">
     <link rel="stylesheet" href="$page.base$assets/stylesheets/paradox-material-theme.css">
@@ -164,8 +157,5 @@ $!
     $ if (page.properties.("material.custom.javascript")) $
       <script src="$page.base$$page.properties.("material.custom.javascript")$"></script>
     $ endif $
-    $ if (page.properties.("material.google.analytics")) $
-      $partials/integrations/analytics()$
-    $ endif $
   </body>
 </html>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org