-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
comments helper #150
Comments
The trick is that themes inherit each other. So a template may be in the theme, or on its parent, or its grandparent and so on. To get a copy to play with do this:
|
You don't need (even don't want) to edit the template. Make sure you've got
the correct config, that the code is generated, and that you are not
blocking the necessary external resources.
…--
Chris Warrick <https://chriswarrick.com/>
On Tue, Apr 24, 2018, 15:21 Roberto Alsina ***@***.***> wrote:
Closed #150 <#150>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAT-mxa0g5TP2oDWhhx-njXqO-DTBGArks5trybNgaJpZM4Tg2b5>
.
|
Hey, so i double checked the demo site, and the comments are working the
same way that they are working on my site, which is to say, that on the
main page, you can see there is a spot for comments, but when you click
that link, it takes you to the post and there are no comments. I'm going to
check the parent/grandparent theme, but I'm not really sure what I'm
looking for as this is literally my first time doing any thing like this.
aug
…On Tue, Apr 24, 2018 at 9:21 AM, Roberto Alsina ***@***.***> wrote:
The trick is that themes inherit each other. So a template may be in the
theme, or on its parent, or its grandparent and so on.
To get a copy to play with do this:
nikola theme -c comments_helper.tmpl
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkyhsuZfyZjzofddRMGF2Jd-AuJDA-fZks5trybNgaJpZM4Tg2b5>
.
|
What theme is it? |
Source code theme. It looks like the parent theme runs in version 8 of
Nikola, which my Linux computer doesn't support. That may be the problem
On Apr 24, 2018 1:09 PM, "Roberto Alsina" <notifications@github.com> wrote:
What theme is it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Akyhsic9q4BVnUZwAa2j_vhPRr47sKYtks5tr1w4gaJpZM4Tg2b5>
.
|
We found the problem. It's in the post.tmpl file.
It was missing this piece at the end of the file:
{{ comments.comment_form(post.permalink(absolute=True), post.title(),
post._base_path) }}
I don't know how to submit a patch.... so here you go :)
aug
On Tue, Apr 24, 2018 at 1:11 PM, August Crosby <augcrosby1985@gmail.com>
wrote:
… Source code theme. It looks like the parent theme runs in version 8 of
Nikola, which my Linux computer doesn't support. That may be the problem
On Apr 24, 2018 1:09 PM, "Roberto Alsina" ***@***.***>
wrote:
What theme is it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Akyhsic9q4BVnUZwAa2j_vhPRr47sKYtks5tr1w4gaJpZM4Tg2b5>
.
|
Source code theme. It looks like the parent theme runs in version 8 of
Nikola, which my Linux computer doesn't support. That may be the problem
We found the problem. It's in the post.tmpl file.
It was missing this piece at the end of the file:
{{ comments.comment_form(post.permalink(absolute=True), post.title(),
post._base_path) }}
I don't know how to submit a patch.... so here you go :)
aug
…On Tue, Apr 24, 2018 at 1:09 PM, Roberto Alsina ***@***.***> wrote:
What theme is it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Akyhsic9q4BVnUZwAa2j_vhPRr47sKYtks5tr1w4gaJpZM4Tg2b5>
.
|
Thanks @augcros! I will see if I can add it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have installed nikola, and have my blog site up and running, but we cannot get the comments to work appropriately, and looking through all of the templates and css and everything, we cannot find comments_helper.tmpl. Is there a trick to getting this? We have not found it anywhere in your sourcecodes? I am using the srcco.de theme
The text was updated successfully, but these errors were encountered: