We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't begin to use Pelican-loadcsv.
See simple configuration in SashaLoadCSV branch of my demo repository:
SashaLoadCSV
Sasha__LoadCSV--debugging.md:
Sasha__LoadCSV--debugging.md
Title: Sasha__LoadCSV--debugging.md Date: 2018-05-19 11:15:49 Modified: 2018-06-03 20:40:54 Sasha Goddess! {% csv ''' a,b,c,d,e 1,1,1,1,1 2,2,2,2,2 3,3,3,3,3 4,4,4,4,4 5,5,5,5,5 '''%}
Part of pelicanconf.py:
pelicanconf.py
PLUGINS = [ 'loadcsv' ]
pelican content -s pelicanconf.py --verbose
Generating tables from CSV in articles.
Support different tables for different articles.
<p>{% csv ''' a,b,c,d,e 1,1,1,1,1 2,2,2,2,2 3,3,3,3,3 4,4,4,4,4 5,5,5,5,5 '''%}</p>
Try in Sasha__LoadCSV--debugging.md:
``` {% csv ''' a,b,c,d,e 1,1,1,1,1 2,2,2,2,2 3,3,3,3,3 4,4,4,4,4 5,5,5,5,5 '''%} ```
Result:
<div class="highlight"><pre><span></span>{% csv ''' a,b,c,d,e 1,1,1,1,1 2,2,2,2,2 3,3,3,3,3 4,4,4,4,4 5,5,5,5,5 '''%} </pre></div>
If I add to base.html:
base.html
{% csv ''' a,b,c,d,e 1,1,1,1,1 2,2,2,2,2 3,3,3,3,3 4,4,4,4,4 5,5,5,5,5 '''%}
I get an error in console:
CRITICAL: TemplateSyntaxError: Encountered unknown tag 'csv'.
Else as in this answer:
{{ csv ''' a,b,c,d,e 1,1,1,1,1 2,2,2,2,2 3,3,3,3,3 4,4,4,4,4 5,5,5,5,5 '''}}
I get another error:
CRITICAL: TemplateSyntaxError: expected token 'end of print statement', got 'string'
I try enable jinja2content plugin:
jinja2content
PLUGINS = [ 'jinja2content', 'loadcsv' ]
No effect.
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. Summary
I can't begin to use Pelican-loadcsv.
2. Environment
3. Configuration
See simple configuration in
SashaLoadCSV
branch of my demo repository:Sasha__LoadCSV--debugging.md
:Title: Sasha__LoadCSV--debugging.md Date: 2018-05-19 11:15:49 Modified: 2018-06-03 20:40:54 Sasha Goddess! {% csv ''' a,b,c,d,e 1,1,1,1,1 2,2,2,2,2 3,3,3,3,3 4,4,4,4,4 5,5,5,5,5 '''%}
Part of
pelicanconf.py
:4. Steps to reproduce
5. Expected behavior
Generating tables from CSV in articles.
Support different tables for different articles.
6. Actual behavior
7. Not helped
7.1. Backticks
Try in
Sasha__LoadCSV--debugging.md
:Result:
7.2. Templates
If I add to
base.html
:I get an error in console:
Else as in this answer:
I get another error:
7.3. Jinja2content
I try enable
jinja2content
plugin:No effect.
Thanks.
The text was updated successfully, but these errors were encountered: