Skip to content
Permalink
Browse files

fix(w3c validation): remove type and language attributes

Update #251
  • Loading branch information...
talha131 committed Aug 10, 2019
1 parent 54aa309 commit b700224c83c00a6fcd27e2f2f9e74f896f024183
@@ -25,7 +25,7 @@ that a website must have in order to use StatCounter.

:::javascript
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
<script>
var sc_project=5555555;
var sc_invisible=1;
var sc_security="XXXXXXXX";
@@ -10,7 +10,7 @@
{% endif %}

{% if HEAP_ANALYTICS %}
<script type="text/javascript">
<script>
window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=t.forceSSL||"https:"===document.location.protocol,a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=(r?"https:":"http:")+"//cdn.heapanalytics.com/js/heap-"+e+".js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","resetIdentity","removeEventProperty","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=o(p[c])};
heap.load("{{HEAP_ANALYTICS}}");
</script>
@@ -20,7 +20,7 @@
{% if PIWIK_SSL_URL is not defined %}
{% set PIWIK_SSL_URL = PIWIK_URL %}
{% endif %}
<script type="text/javascript">
<script>
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
@@ -57,14 +57,14 @@


{% macro comments_common_scripts() %}
<script language="javascript" type="text/javascript">
<script>
function uncollapse() {
if (window.location.hash.match(/^#comment-\d+$/)) {
$('#disqus_thread').collapse('show');
}
}
</script>
<script type="text/javascript" language="JavaScript">
<script>
uncollapse();
window.onhashchange=function(){
if (window.location.hash.match(/^#comment-\d+$/))
@@ -1,5 +1,5 @@
{% macro disqus_misc_scripts() %}
<script type="text/javascript">
<script>
var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function () {
var s = document.createElement('script'); s.async = true;
@@ -12,7 +12,7 @@

{% macro disqus_comments_script(article) %}
<div id="disqus_thread"></div>
<script type="text/javascript">
<script>
var disqus_shortname = '{{ DISQUS_SITENAME }}';
{% if article.comment_id %}
var disqus_identifier = '{{ article.comment_id }}';
@@ -1,3 +1,3 @@
{% assets filters="rjsmin", output="tipuesearch/tipuesearch.packed.min.js", "tipuesearch/tipuesearch_set.js", "tipuesearch/tipuesearch.js" %}
<script type="text/javascript" src="{{ SITEURL }}/{{ ASSET_URL }}"></script>
<script src="{{ SITEURL }}/{{ ASSET_URL }}"></script>
{% endassets %}
@@ -1,6 +1,6 @@
{% if STAT_COUNTER_PROJECT and STAT_COUNTER_SECURITY %}
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
<script>
var sc_project={{ STAT_COUNTER_PROJECT }};
var sc_invisible=1;
var sc_security="{{ STAT_COUNTER_SECURITY }}";
@@ -78,15 +78,15 @@ <h1><a href="{{ SITEURL }}/{{ CATEGORIES_URL }}">All Categories</a></h1>
{% endblock content %}
{% block script %}
{{ super() }}
<script language="javascript" type="text/javascript">
<script>
function uncollapse() {
$(window.location.hash).collapse({
toggle: true
})
}
</script>

<script type="text/javascript" language="JavaScript">
<script>
uncollapse();
</script>
{% endblock script %}
@@ -29,8 +29,8 @@
{% if 'assets' in PLUGINS %}
{% include '_includes/minify_tipuesearch.html' with context %}
{% else %}
<script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch_set.js"></script>
<script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch.min.js"></script>
<script src="{{ SITEURL }}/theme/tipuesearch/tipuesearch_set.js"></script>
<script src="{{ SITEURL }}/theme/tipuesearch/tipuesearch.min.js"></script>
{% endif %}

{% if 'tipue_search' in PLUGINS %}

0 comments on commit b700224

Please sign in to comment.
You can’t perform that action at this time.