Files
Fechin 2f7bfa586c feat: Update Link Titles and SEO Optimization
- Added title attributes to links in multiple layout files to improve accessibility and SEO.
- Updated the configuration file to add new excluded domains.
- Improved the readability and user experience of various sections on the page.
2025-06-23 05:23:50 -07:00

28 lines
989 B
Plaintext

<%
var pageId = page.path;
var pageUrl = page.permalink;
var pageTitle = page.title;
%>
<% if (theme.disqus_shortname && page.comments){ %>
<section id="comment">
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '<%= pageUrl %>';
this.page.identifier = '<%= pageId %>';
};
(function () {
var d = document,
s = d.createElement('script');
s.src = '//<%= theme.disqus_shortname %>.disqus.com/embed.js';
s.setAttribute('_data-timestamp', +new Date());
(d.head || d.section).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the
<a href="https://disqus.com/?ref_noscript" rel="external nofollow" title="Disqus - comments powered by Disqus">comments powered by Disqus.</a>
</noscript>
</section>
<% } %>