|
8 | 8 | <% @canonical = @post.canonical %> |
9 | 9 | <% @meta_image = @post.image_url if @post.image_url %> |
10 | 10 | <% @twitter_style = "summary_large_image" if @post.image_url %> |
| 11 | + |
| 12 | + <% if @post.unlisted %> |
| 13 | + <meta name="robots" content="noindex"> |
| 14 | + <% end %> |
| 15 | + |
11 | 16 | <% elsif !@title && !@desc %> |
12 | 17 | <% @title = "Listed" %> |
13 | 18 | <% @desc = "Listed allows you to create an online publication with automatic email newsletters delivered to your readers, directly from Standard Notes. It's ideal for creating a public journal, or sharing domain-specific knowledge."%> |
|
68 | 73 | </style> |
69 | 74 | <% end %> |
70 | 75 |
|
71 | | - <!-- Piwik --> |
72 | | - <script type="text/javascript"> |
73 | | - var _paq = _paq || []; |
74 | | - /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ |
75 | | - _paq.push(['trackPageView']); |
76 | | - _paq.push(['enableLinkTracking']); |
77 | | - (function() { |
78 | | - var u="//matomo.standardnotes.org/"; |
79 | | - _paq.push(['setTrackerUrl', u+'piwik.php']); |
80 | | - _paq.push(['setSiteId', '6']); |
81 | | - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |
82 | | - g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); |
83 | | - })(); |
84 | | - (function() { |
85 | | - var previousPageUrl = null; |
86 | | - addEventListener("turbolinks:load", function(event) { |
87 | | - if (previousPageUrl) { |
88 | | - _paq.push(["setReferrerUrl", previousPageUrl]); |
89 | | - _paq.push(["setCustomUrl", window.location.href]); |
90 | | - _paq.push(["setDocumentTitle", document.title]); |
91 | | - _paq.push(["trackPageView"]); |
92 | | - } |
93 | | - previousPageUrl = window.location.href; |
94 | | - }); |
95 | | - })(); |
96 | | - </script> |
97 | | - <!-- End Piwik Code --> |
| 76 | + <!-- Plausible --> |
| 77 | + <script defer data-domain="listed.to" src="https://plausible.standardnotes.com/js/plausible.js"></script> |
| 78 | + <!-- End Plausible Code --> |
98 | 79 |
|
99 | 80 | </head> |
100 | 81 |
|
|
0 commit comments