Skip to content

Commit 31546df

Browse files
renzonrenzon
authored andcommitted
Changed canonical to www.dev.pro.br
close #4642
1 parent 24be83c commit 31546df

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

pythonpro/core/templates/core/base.html

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<!DOCTYPE html>
33
<html lang="pt-br" data-wf-page="5f11fb784cf649f4dd0aa7ab" data-wf-site="5f07a1c9ac6e0b5937b108a7">
44
<head>
5+
<link rel="canonical" href="https://www.dev.pro.br{{ request.get_full_path }}"/>
56
<!-- Google Tag Manager -->
67
<script>(function (w, d, s, l, i) {
78
w[l] = w[l] || [];
@@ -162,25 +163,5 @@ <h3 class="mt-3">Entre em contato</h3>
162163
{% endblock footer %}
163164

164165
{% block bottom_scripts %}{% endblock %}
165-
{% block posthog %}
166-
{% if user.is_authenticated %}
167-
<script type="application/javascript">
168-
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
169-
posthog.init('{{POSTHOG_API_KEY}}',{
170-
api_host:'{{POSTHOG_API_URL}}',
171-
loaded: function(posthog) {
172-
posthog.identify('{{ user.email }}');
173-
posthog.people.set({email: '{{ user.email }}'})
174-
}
175-
})
176-
</script>
177-
178-
{% else %}
179-
<script type="application/javascript">
180-
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
181-
posthog.init('{{POSTHOG_API_KEY}}',{api_host:'{{POSTHOG_API_URL}}'})
182-
</script>
183-
{% endif %}
184-
{% endblock %}
185166
</body>
186167
</html>

0 commit comments

Comments
 (0)