Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zutrinken/attila
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: gormal/attila
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Feb 20, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    935a471 View commit details

Commits on Feb 22, 2021

  1. Add comments to post page

    gormal committed Feb 22, 2021
    Copy the full SHA
    90aa2cb View commit details
Showing with 10 additions and 24 deletions.
  1. +1 −1 Gruntfile.js
  2. +0 −1 default.hbs
  3. +8 −3 package-lock.json
  4. +1 −19 post.hbs
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ module.exports = function(grunt) {
compress: {
main: {
options: {
archive: `dist/${require('./package.json').name}.zip`,
archive: `dist/${require('./package.json').name}_modified.zip`,
level: 9
},
files: [{
1 change: 0 additions & 1 deletion default.hbs
Original file line number Diff line number Diff line change
@@ -91,7 +91,6 @@
{{#if @site.secondary_navigation}}
{{navigation type="secondary"}}
{{/if}}
<span class="nav-credits">{{t "Published with"}} <a href="https://ghost.org">Ghost</a> &bull; {{t "Theme" }} <a href="https://github.com/zutrinken/attila">Attila</a> &bull; <a class="menu-item js-theme" href="#" data-system="System theme" data-dark="Dark theme" data-light="Light theme"><span class="theme-icon"></span><span class="theme-text">System theme</span> </a> </span>
</nav>
</div>

11 changes: 8 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 1 addition & 19 deletions post.hbs
Original file line number Diff line number Diff line change
@@ -82,8 +82,7 @@


<section class="post-comments">
<a id="show-disqus" class="post-comments-activate">{{t "Show Comments"}}</a>
<div id="disqus_thread"></div>
<script async src="https://comments.app/js/widget.js?3" data-comments-app-website="42eBhHbl" data-limit="5" data-color="343638"></script>
</section>

{{#if @labs.subscribers}}
@@ -179,23 +178,6 @@
readingProgress();
}
});
// Check if disqus is defined by code injection
if (typeof disqus === 'undefined') {
// hide comment section
$('.post-comments').css({
'display': 'none'
});
} else {
$('#show-disqus').on('click', function() {
$.ajax({
type: "GET",
url: "//" + disqus + ".disqus.com/embed.js",
dataType: "script",
cache: true
});
$(this).parent().addClass('activated');
});
}
});
</script>
{{/contentFor}}