commit
ee4c79b7dc
6 changed files with 55 additions and 1 deletions
|
@ -31,6 +31,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme.
|
|||
- [Google Tag Manager](https://www.google.com/tagmanager/)
|
||||
- [Matomo Analytics (formerly Piwik)](https://matomo.org/)
|
||||
- [StatusCake](https://www.statuscake.com/)
|
||||
- [Isso](https://posativ.org/isso/)
|
||||
|
||||
## Plugins Support
|
||||
|
||||
|
|
20
static/isso/isso.min.js
vendored
Normal file
20
static/isso/isso.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -269,6 +269,12 @@ main {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Add a bit of padding between each of the entry boxes in the Isso auth
|
||||
// section. By default, they are squished together, which looks terrible.
|
||||
section#isso-thread .auth-section .input-wrapper {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
|
@ -303,7 +309,8 @@ main {
|
|||
}
|
||||
}
|
||||
|
||||
a.btn {
|
||||
a.btn,
|
||||
section#isso-thread section.auth-section p.post-action input {
|
||||
background-color: @btn-bg;
|
||||
padding: .6em .6em;
|
||||
font-size: .8em;
|
||||
|
@ -312,6 +319,7 @@ a.btn {
|
|||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border: none;
|
||||
border-radius: .25em;
|
||||
}
|
||||
|
||||
|
|
|
@ -94,5 +94,6 @@
|
|||
{% endif %}
|
||||
|
||||
{% include "partial/disqus.html" %}
|
||||
{% include "partial/isso.html" %}
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
23
templates/partial/isso.html
Normal file
23
templates/partial/isso.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
{% if ISSO_URL %}
|
||||
<!-- Isso -->
|
||||
<section id="isso-thread" data-title="{{ article.title|e }}"></section>
|
||||
<script
|
||||
type="text/javascript"
|
||||
{% if ISSO_EMBED_JS_PATH %}
|
||||
src="{{ ISSO_EMBED_JS_PATH }}"
|
||||
{% else %}
|
||||
src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/isso/isso.min.js"
|
||||
{% endif %}
|
||||
|
||||
{% if ISSO_URL %}
|
||||
data-isso="{{ ISSO_URL }}"
|
||||
{% endif %}
|
||||
{% for opt, val in ISSO_OPTIONS.items() %}
|
||||
data-isso-{{ opt }}="{{ val }}"
|
||||
{% endfor %}
|
||||
></script>
|
||||
<noscript>
|
||||
{{ _('Please enable JavaScript to view comments.') }}
|
||||
</noscript>
|
||||
<!-- End Isso -->
|
||||
{% endif %}
|
|
@ -83,6 +83,7 @@ msgid "Tags"
|
|||
msgstr ""
|
||||
|
||||
#: templates/partial/disqus.html:13
|
||||
#: templates/partial/isso.html:20
|
||||
msgid "Please enable JavaScript to view comments."
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue