Re: [nikola-discuss] How does link://kind/name work ?

2016-08-11 Thread Chris Warrick
ps://groups.google.com/d/optout. Magic links work only in , and similar attributes (i.e. in places where links are actually followed). Try this: My Category -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Gr

Re: [nikola-discuss] Access GLOBAL_CONTEXT from template with shortcode

2016-08-12 Thread Chris Warrick
> > {{ template_hooks['page_footer']() }} > > {% endif %} > {% endmacro %} > > > However, the template isn't picking up any of the data I included in > GLOBAL_CONTEXT. Am I missing anything? > > Thank you, > CHOWY

Re: [nikola-discuss] Track 404 urls?

2016-08-07 Thread Chris Warrick
vices like Google Analytics probably could help you with 404 errors. (PS. there are servers, you just don’t control them.) [0]: https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/ -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You

Re: [nikola-discuss] Re: MathJaX: Where does mathjax.js come from?

2017-01-29 Thread Chris Warrick
Please re-install zen-jinja and zen-ipython. Those themes had some bugs with MathJax support. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from thi

Re: [nikola-discuss] CSS, themes, and @imports

2016-09-06 Thread Chris Warrick
e if your CSS file is included (if not using bundles), or check the result all.css file to see if your custom CSS is there. 3. Open your browser’s Web Inspector, click on the element and see what styles apply to it. Perhaps Bootstrap uses a selector that is more important than just `body`? -- Chri

Re: [nikola-discuss] Unexpected behavior with `nikola build -a`

2016-09-30 Thread Chris Warrick
you really want a white terminal, NIKOLA_MONO is the environment variable you need) -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop recei

Re: [nikola-discuss] mathjax problems on material-theme theme

2016-09-18 Thread Chris Warrick
, which has this template, and all works well. (mathjax_config is a configuration variable available to all templates, not a function) I updated material-theme with a newer version of the mathjax snippet. Run `nikola theme -i material-theme` to install the new version of this theme. -- Chris Warr

Re: [nikola-discuss] problem displaying demo site in browser

2016-08-23 Thread Chris Warrick
hing and results in user-unfriendly behavior like this. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails f

Re: [nikola-discuss] Re: in praise of Nikola

2016-08-29 Thread Chris Warrick
On 29 August 2016 at 11:01, Gour <g...@atmarama.com> wrote: > On Mon, 29 Aug 2016 09:22:35 +0200 > Chris Warrick <kwpol...@gmail.com> wrote: > >> This is basically “make a GitHub repository for skeletons and get >> people to make those”. > > Indeed. ;)

Re: [nikola-discuss] How to let stories (not blog posts) appear in menu automatically?

2016-10-29 Thread Chris Warrick
ed in nikola.py, or in this case it would need to be made one in set_site). > Design question to navstories: Should I let it be flat or hierarcical > depending on a setting in conf.py? I don’t really care, if you want to make this a feature then do it. -- Chris Warrick <https://chris

Re: [nikola-discuss] custom files for themes not in assets but in site root

2016-10-29 Thread Chris Warrick
and things get in mess. > > I think it will be a simple plugin to add this. Just after build complete, > copy files. I'll have a re-read of the plugins system :) Not really. That will be a Task plugin to copy those files whenever doit says so. You can base (read: copy-paste) your plugin on

Re: [nikola-discuss] Html as input format

2016-11-23 Thread Chris Warrick
best > Gerald Nikola takes its metadata from HTML comments or .meta files. You will need this: At the top of your file, along with other important fields. Run this: nikola new_post -f html You can also add -2 to get separate .meta and .html files. -- Chris Warrick <https://chriswarrick.com/> PG

[nikola-discuss] Nikola v7.8.1 is out!

2016-10-13 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.8.1. It fixes some bugs and adds new features. What is Nikola? === Nikola is a static site and blog generator, written in Python. It can use Mako and Jinja2 templates, and input in many

Re: [nikola-discuss] how to include background images

2017-01-13 Thread Chris Warrick
to find out howto do it in Nikola. > > Carl This is nothing Bootstrap-specific, just put any CSS that changes background of body to an image URL in files/assets/css/custom.css. (If you want a different background for every blog post, which is unusual, you will need some more work) -- Chris Warric

Re: [nikola-discuss] Nikola v7.8.2 is out!

2017-01-09 Thread Chris Warrick
On 8 January 2017 at 21:44, Niko Wenselowski <n...@nerdno.de> wrote: > Hi Chris, > >> Am 08.01.2017 um 20:34 schrieb Chris Warrick <kwpol...@gmail.com>: >> * A rewrite of all taxonomies (tags, categories, sections, etc.) in a >> generic fashion, allowing fo

Re: [nikola-discuss] how to include background images

2017-01-09 Thread Chris Warrick
On 8 January 2017 at 20:50, carlkl <cmkleff...@gmail.com> wrote: > Is there a convenient way to include background images to blog posts? > > carlkl Please be more specific: how would those images look? Where would they appear? -- Chris Warrick <https://chriswarrick.com/> P

[nikola-discuss] Nikola v7.8.2 is out!

2017-01-08 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.8.2. It adds a ton of new features, while also fixing some bugs. Key Changes === * A rewrite of all taxonomies (tags, categories, sections, etc.) in a generic fashion, allowing for much

Re: [nikola-discuss] Re: Nikola's future and/or roadmap

2017-01-06 Thread Chris Warrick
On 5 January 2017 at 22:24, Gour <g...@atmarama.com> wrote: > On Wed, 4 Jan 2017 20:12:51 +0100 > Chris Warrick <kwpol...@gmail.com> wrote: > >> As for v8.0.0, what purpose would it have, other than >> removing some code? What would v8.0.0 do better than v7.8.2?

Re: [nikola-discuss] Help building Nikola locally - Relative import error

2016-12-18 Thread Chris Warrick
it often breaks things. And in your case, it should only contain /home/ubuntu/workspace and not any of the subdirectories. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group.

Re: [nikola-discuss] Help building Nikola locally - Relative import error

2016-12-18 Thread Chris Warrick
et al., and instead using virtualenvs (or at least pip install --user). Look at the Getting Started guide for details: https://getnikola.com/getting-started.html -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed

Re: [nikola-discuss] travis-ci fails to deploy

2017-03-17 Thread Chris Warrick
and necessary. 3. Because you enabled some tidy filters, you need to install tidy5 to build your site. I also updated the guide with this: https://getnikola.com/blog/automating-nikola-rebuilds-with-travis-ci.html -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received

Re: [nikola-discuss] travis-ci fails to deploy

2017-03-18 Thread Chris Warrick
On 18 March 2017 at 17:45, Marcelo Huerta <marcelo.hue...@gmail.com> wrote: > Chris Warrick decía, en el mensaje "Re: [nikola-discuss] travis-ci fails to > deploy" del 18/3/2017 09:18:03: > >> We won’t support BeautifulSoup, and won’t ever do it. (BS often uses

Re: [nikola-discuss] I need to know the current page url in a shortcode

2017-03-18 Thread Chris Warrick
ola/nikola/commit/f0cd6c6f9ea6c05ef3f9eb783a139e62f48075b3 -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from i

Re: [nikola-discuss] Re: Tagging Ipython posts

2017-04-03 Thread Chris Warrick
You can also use the -i option to import files, they will automatically get metadata added — or yes, use -2 and two file posts. -- Chris Warrick <https://chriswarrick.com/> On 3 Apr 2017 5:45 a.m., "Daniel Kremer" <dan.j.kre...@gmail.com> wrote: > Ok found my sol

Re: [nikola-discuss] Teasers in ipython posts

2017-04-04 Thread Chris Warrick
lso changed INDEX_TEASERS = True in conf.py > > Thanks > > Dan Cannot reproduce with Nikola v7.8.3+ (from master) and Jupyter 4.2.1. Are you sure you uncommented INDEX_TEASERS in addition to setting it to True? Did you spell the teaser tag correctly, including spaces? Did you put i

Re: [nikola-discuss] Link to anchor in another post

2017-04-18 Thread Chris Warrick
t support linking to subheadings, and neither do magic links. Feel free to create an issue on GitHub if you think we should support that use-case. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Gr

Re: [nikola-discuss] Problem with custom indices for two sections (ERROR: Two different tasks can't have a common target)

2017-04-18 Thread Chris Warrick
om creating an index as well, >> but I'm not sure, how to do that. >> >> Thanks in advance! That’s a bug, sorry. Created an issue to track it: https://github.com/getnikola/nikola/issues/2724 -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received th

Re: [nikola-discuss] Create post-list that only shows future posts

2017-03-07 Thread Chris Warrick
{{% /post-list %}} > > where now is the current date. > > Is this possible? It is now! You need Nikola from GitHub master, or some manual patching: https://github.com/getnikola/nikola/commit/467f9fe8c19a32fedf60448b9149f0239d71167d -- Chris Warrick <https://chriswarrick.com/> P

Re: [nikola-discuss] How to remove base slug for pages?

2017-03-21 Thread Chris Warrick
Change your PAGES configuration. The second entry in every tuple is the directory, and you can change it from 'pages' to '' (empty string). -- Chris Warrick <https://chriswarrick.com/> On 21 Mar 2017 15:41, "Chillar Anand" <anand21na...@gmail.com> wrote: > By default,

Re: [nikola-discuss] Fenced code blocks and line numbers

2017-08-14 Thread Chris Warrick
wn extension config options. Please create an issue on GitHub for that. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving

Re: [nikola-discuss] math teaser

2017-07-13 Thread Chris Warrick
ere a way to get this to work? > > -keith 1. What theme are you using? 2. What renderer are you using? KaTeX doesn’t seem to like the \begin{equation*} syntax that reST outputs. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subs

Re: [nikola-discuss] How to edit CSS for a single page?

2017-07-05 Thread Chris Warrick
On 5 July 2017 at 07:25, Warut Phothiphan wrote: > > Hello again > > > Could you guide me how to edit the CSS, if I put raw html inside the page? > > > Thank you You can add a

Re: [nikola-discuss] How to edit CSS for a single page?

2017-07-05 Thread Chris Warrick
ents in formats other than reST. To hide the title, you can use this meta tag: .. hidetitle: True -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from thi

Re: [nikola-discuss] new posts after github deployment

2017-08-09 Thread Chris Warrick
then deploy. git checkout src -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to nikola-di

Re: [nikola-discuss] Sections - limiting Previous post and Next post to within one section

2017-08-19 Thread Chris Warrick
e anything that would > change this. Have I somehow setup Nikola sections incorrectly? If not, is > this a worthy enhancement? You can install a plugin for that: http://plugins.getnikola.com/v7/section_prevnext/ -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received

Re: [nikola-discuss] modify nbconvert when building

2017-08-18 Thread Chris Warrick
FIG option. It takes a dictionary of config values for ipynb. You can probably pass some option to do what you want. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsu

Re: [nikola-discuss] Using d3js with Nikola

2017-06-24 Thread Chris Warrick
email to nikola-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. * Where do you place the .tsv file? * What is FILE_FOLDERS set to? * What paths do you use? * How do you use it in your code? * The JS snippet assumes the document contains nothing else; y

Re: [nikola-discuss] shopping cart

2017-05-25 Thread Chris Warrick
sn’t have anything to do that, and it’s impossible with static sites. You’d need some external e-commerce system; they might have some embedding functionality but I wouldn’t expect much. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message be

[nikola-discuss] Nikola v7.8.7 is out!

2017-06-05 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.8.7. This is a part-emergency bugfix, part-world domination release. What is Nikola? === Nikola is a static site and blog generator, written in Python. It can use Mako and Jinja2

Re: [nikola-discuss] gallery shortcode in markdown

2017-06-10 Thread Chris Warrick
se too… >> Or could someone point me in the right direction to fix this myself? >> >> Thanks in advance! >> >> ~ Tanja That one looks interesting — perhaps you could submit it to the repo at https://github.com/getnikola/plugins ? -- Chris Warrick <https://c

Re: [nikola-discuss] Re: Latex rendering broken in Nikola-converted ipython notebooks

2017-06-14 Thread Chris Warrick
sing math with ipython > notebooks? It’s not necessary unless you want $single-dollar$ syntax for inline math. If you’re using \(x\) — which is spelled \\(x\\) in Markdown — it’s all fine. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because

Re: [nikola-discuss] custom config parameters via themes

2017-09-06 Thread Chris Warrick
s ASCIIDOC_BINARY that can ber set in conf.py. > > Now I wonder if there is possibility to do the same with themes, iow. > > set something like: > > PIWIK_ID = "foo" > > PIWIK_URL = "bar" > > and then have access to them within theme's templates? GL

[nikola-discuss] Nikola v7.8.10 is out! (maintenance release)

2017-09-10 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.8.10. This is a maintenance release for the v7 series. Future releases in the v7 series are going to be small maintenance releases that include bugfixes only, as work on v8.0.0 is underway. What is

Re: [nikola-discuss] Nikola theming and modern CSS frameworks

2017-09-05 Thread Chris Warrick
perspective, I don’t want to install the entire Node stack just to compile a single CSS file. Case in point: to do that with Bootstrap, 181 megabytes of disk space are needed. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscr

Re: [nikola-discuss] Warning about robots.txt

2017-10-01 Thread Chris Warrick
le.com/foo/). robots.txt won’t work there. You need to handle robots.txt outside of Nikola and disable the plugin if you’re deploying to a subdirectory. If your deployment target is not a subdirectory, set SITE_URL accordingly. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 --

Re: [nikola-discuss] I need to create absolute links on a sidebar

2017-09-26 Thread Chris Warrick
s/hello.html. If you don’t want this behavior, you can change the URL_TYPE setting, or do a one-time override via magic links: Which will produce "/2004/08" no matter where the output is. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message

Re: [nikola-discuss] Can't create new posts: `nikola new_post`: Missing date in file posts/2.md

2017-08-23 Thread Chris Warrick
You're using the Markdown meta data format, which requires special configuration. Have you enabled that support in conf.py? The standard format would look like this, perhaps inside a HTML comment: .. date: 2017-08-23 20:00:00 UTC (All of your date strings look okay to me.) -- Chris Warrick

Re: [nikola-discuss] Can't create new posts: `nikola new_post`: Missing date in file posts/2.md

2017-08-24 Thread Chris Warrick
requires the > markdown.extensions.meta extension (see MARKDOWN_EXTENSIONS). The exact > format is described in the markdown metadata extension docs. If you want to use Markdown Metadata, add 'markdown.extensions.meta' to MARKDOWN_EXTENSIONS in your conf.py. -- Chris Warrick &l

Re: [nikola-discuss] Nikola reports a LOT of DEBUG logging messages on building the site

2017-11-10 Thread Chris Warrick
This shouldn't happen. Are you sure you didn't inadvertently set the NIKOLA_DEBUG environment variable? Did you change anything else while working on your plugin? -- Chris Warrick <https://chriswarrick.com/> On Nov 10, 2017 01:16, "MAVignau" <mavig...@gmail.com> wrot

Re: [nikola-discuss] Playing with Nikola and Binder.

2017-12-19 Thread Chris Warrick
erry Christmas and Happy New Year! PS. We also have some easier approaches (without Jupyter Notebook support though): https://getnikola.com/blog/a-cms-or-two-for-nikola-dato-cms-and-netlify-cms-integration.html -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You

Re: [nikola-discuss] html slug linking

2017-11-13 Thread Chris Warrick
first few characters of your text to provide as description. (It seems to be working in a weird way for your language, no idea why.) -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss

Re: [nikola-discuss] Keeping Changes to a Downloaded Theme.

2017-11-13 Thread Chris Warrick
...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "nikola-discuss" group. > To unsubscribe from this group and stop receiving emails from it,

Re: [nikola-discuss] Nikola page generation question

2017-12-05 Thread Chris Warrick
Nikola supports data files, and then you could make a custom template or use shortcode stuff to make use of them. (More details in the manual.) -- Chris Warrick <https://chriswarrick.com/> On Dec 6, 2017 00:09, "Milan Kosir" <kosir.mi...@gmail.com> wrote: > Hi, I'm loo

Re: [nikola-discuss] Re: Troubleshooting thumbnails generation

2018-05-14 Thread Chris Warrick
an email to nikola-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss"

Re: [nikola-discuss] Noob question about creating a page collection

2018-05-17 Thread Chris Warrick
w pages, and I edited the conf according to > https://getnikola.com/creating-a-site-not-a-blog-with-nikola.html to the best of my understanding. > cheers, -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to

Re: [nikola-discuss] How to force send warnings about rst errors found by docutils to Nikola log on rendering

2017-12-29 Thread Chris Warrick
ks: . render_posts:cache/posts/1.html [2017-12-29T12:29:35Z] WARNING: compile_rest: [posts/1.rst:15] Inline emphasis start-string without end-string. I fixed it in master and v7.8.11 (a new maintenance release). -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You receive

Re: [nikola-discuss] Re: How to get all posts for each category in a template file?

2018-01-05 Thread Chris Warrick
oc > to specify all its attributes and methods? Thank you again. You can look at the source code: master (v8 dev) https://github.com/getnikola/nikola/blob/master/nikola/post.py v7-maintenance https://github.com/getnikola/nikola/blob/v7-maintenance/nikola/post.py -- Chris Warrick <https://c

Re: [nikola-discuss] How do I change Jupyter NB color/style of a bootswatch theme?

2018-01-18 Thread Chris Warrick
message because you are subscribed to the Google >>> Groups "nikola-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to nikola-discus...@googlegroups.com. >>> For more options, visit https://groups.goog

Re: [nikola-discuss] projects page; Include md file inside md?

2018-01-20 Thread Chris Warrick
uit your needs, you can use the post-list directive and a custom template: https://getnikola.com/handbook.html#post-list (can be used from within Markdown as a shortcode) -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the

Re: [nikola-discuss] I can't create groups of links using NAVIGATION_LINKS option in conf.py

2018-02-20 Thread Chris Warrick
) > ), > } > I copy-pasted this into the default demo site and it worked. Perhaps the theme you’re using does not support nested menus? (the default bootstrap3 theme does) -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you ar

Re: [nikola-discuss] Can put submenus on NAVIGATION_LINKS option in conf.py

2018-02-20 Thread Chris Warrick
ts' ), # note trailing comma here ), } (Trailing comma due to Python syntax oddity regarding tuples.) -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from t

Re: [nikola-discuss] How to force send warnings about rst errors found by docutils to Nikola log on rendering

2017-12-27 Thread Chris Warrick
il to nikola-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. Warnings should be displayed when building a post. Run `nikola build -a` to rebuild everything and show the warnings. You can also try `grep -R system-message .` or `grep -R error .

Re: [nikola-discuss] Configuration for custom URL format (replace the /posts/ prefix)

2018-01-01 Thread Chris Warrick
wise for contents. But note that your example sounds as if /contents/ were pages in Nikola’s parlance. If those are posts, then use the above example; otherwise, the second element of POSTS and PAGES entries can be anything. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 --

Re: [nikola-discuss] Index that looks like archives

2018-08-26 Thread Chris Warrick
modify index.tmpl to make it a list, and use FRONT_INDEX_HEADER and perhaps INDEX_DISPLAY_POST_COUNT to make it look the way you want. Another option is to use the post-list directive and make your index a page (disabling the index system). -- Chris Warrick <https://chriswarrick.com/>

Re: [nikola-discuss] can different pages refer same data, but render it differently?

2018-08-22 Thread Chris Warrick
andbook.html#template-based-shortcodes https://getnikola.com/handbook.html#the-global-context-and-data-files -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscrib

Re: [nikola-discuss] gallery image titles with special chars (german Umlaute)

2018-09-07 Thread Chris Warrick
n Windows. This will be fixed in the v8 final release (you’ll have to convert to UTF-8 after upgrading). > Am Dienstag, 4. September 2018 18:56:30 UTC+2 schrieb Chris Warrick: >> >> Try using `file`, `xxd` or some other command to verify the file >> contains utf-8. Also, per

[nikola-discuss] Nikola v8.0.0rc1 is out!

2018-09-08 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.0rc1. This is the end of the road to Nikola version 8. Within 48 hours, assuming there are no grave bugs reported in that timeframe, we intend to release v8 final. What is Nikola? ===

Re: [nikola-discuss] editing jinja2 template

2018-09-06 Thread Chris Warrick
can use the theme.css file for reference. > 2) edit the footer and include items for similar to this Edit CONTENT_FOOTER in conf.py and make it look the way you want. > 3) the comment section in my blog does not appear Make sure you are not blocking Disqus with ad-blocking or privacy extensions for

Re: [nikola-discuss] Re: H1 is missing from output HTML (the source is RST format)

2018-09-06 Thread Chris Warrick
usive way — v8 won’t do that by default. (There was an obscure option to disable this behavior in v7, NO_DOCUTILS_TITLE_TRANSFORM, it’s now gone. USE_REST_DOCINFO_METADATA = False will lead to the first heading being displayed properly.) https://github.com/getnikola/nikola/pull/3158 -- Chris Warrick &l

Re: [nikola-discuss] github deploy error message

2018-09-06 Thread Chris Warrick
opefully this won’t happen again, but for now, you can manually convert that file (find it in Nikola’s source) to Unix-style newlines. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-d

Re: [nikola-discuss] github deploy error message

2018-09-06 Thread Chris Warrick
On Thu, 6 Sep 2018 at 18:14, Abdullah Alhadab wrote: > > I did not understand ... > I installed Nikola v8.0.0b3 and I am using mac OS... > > which files I need to modify in the source code ? Remove themes/bootstrap from your site and reinstall that theme (nikola theme -i bootstr

Re: [nikola-discuss] Re: H1 is missing from output HTML (the source is RST format)

2018-09-07 Thread Chris Warrick
On Fri, 7 Sep 2018 at 08:34, 'Thomas Janotta' via nikola-discuss wrote: > > Hi, thanks, sorry, don't know git yet (pull etc) , how do I get this fix? The easiest way would be to wait for Nikola v8 final to be released (which I predict will happen soon, for real this time) -- Chris W

[nikola-discuss] Nikola v8.0.0 is out!

2018-09-10 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.0. After 15 months in development, we’ve created our best release ever, with new features, many bugs squashed, and some improvements under the hood. What is Nikola? === Nikola is a static

Re: [nikola-discuss] Nikola v8.0.0 is out!

2018-09-10 Thread Chris Warrick
On Mon, 10 Sep 2018 at 21:16, Marcelo Huerta wrote: > > > El lun., 10 sept. 2018 a las 16:04, Chris Warrick () > escribió: >> >> >> If you want to upgrade to Nikola v8, make sure to read the blog post: >> https://getnikola.com/blog/upgrading-to-nikola-v8.h

Re: [nikola-discuss] mime types problem, nikola or server side

2018-09-04 Thread Chris Warrick
wikipedia.org/wiki/Transport_Layer_Security : The connection is reliable because each message transmitted includes a message integrity check using a message authentication code to prevent undetected loss or alteration of the data during transmission.[2]:3 -- Chris Warrick <https://chriswarrick.com/> PGP: 5E

Re: [nikola-discuss] How to show an edit date

2018-03-06 Thread Chris Warrick
On 6 March 2018 at 15:22, asmoth <asmoth...@gmail.com> wrote: > Thank you, it works better indeed ^^ Couldn't this be documented somewhere ? > I didn't find until I asked here. I added a mention to the manual. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16

Re: [nikola-discuss] Link to current page

2018-03-15 Thread Chris Warrick
to figure out which file to edit, then use `nikola theme -c` to create a customizable copy. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from t

Re: [nikola-discuss] How can I make my blog load the comments system 'intensedebate' via https?

2018-03-14 Thread Chris Warrick
mes/base-jinja/templates/comments_helper_intensedebate.tmpl if your theme is using Jinja2) and replace http with https in both URLs. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss&quo

Re: [nikola-discuss] Proposed change to "updated" metadata for v8

2018-04-15 Thread Chris Warrick
a/blob/master/nikola/post.py#L224 says otherwise: default_metadata['updated'] = default_metadata.get('date', None) I depend on that behavior on chriswarrick.com, and it works. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are sub

Re: [nikola-discuss] Generating UUID4 GUIDs on new_post?

2018-04-16 Thread Chris Warrick
ts doesn’t seem necessary to me — and doing it by default would just be confusing. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop

[nikola-discuss] Nikola v7.8.14 is out!

2018-03-31 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.8.14. This is a maintenance release for the v7 series. Future releases in the v7 series are going to be small maintenance releases that include bugfixes only, as work on v8.0.0 is underway. If you wish

[nikola-discuss] Nikola v7.8.13 is out! (maintenance release)

2018-03-20 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.8.13. This is a maintenance release for the v7 series. Future releases in the v7 series are going to be small maintenance releases that include bugfixes only, as work on v8.0.0 is underway. What is

Re: [nikola-discuss] Can put submenus on NAVIGATION_LINKS option in conf.py

2018-02-26 Thread Chris Warrick
-packages/nikola/nikola.py", > line 1998, in rel_link > dst = urljoin(src, dst) > File "/usr/lib/python3.5/urllib/parse.py", line 415, in urljoin > base, url, _coerce_result = _coerce_args(base, url) > File "/usr/lib/python3.5/urllib/parse.py", line

Re: [nikola-discuss] Upgrading from 7.8.15 to 8.0.0 using PIP.

2018-09-27 Thread Chris Warrick
t; Cheers. You’re using Python 2, which is no longer supported by Nikola. Please create a new virtualenv with Python 3 and install Nikola there. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikol

[nikola-discuss] Nikola v8.0.1 is out!

2018-09-30 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.1. Some bugs were fixed; more importantly, we pinned down the Markdown package version due to incompatibilities. What is Nikola? === Nikola is a static site and blog generator, written in

Re: [nikola-discuss] Github deployment failure

2018-10-22 Thread Chris Warrick
ion. > Do you have any idea about how i can proceed? > > Thanks in advance > Harun GitHub is having a lot of issues today: https://status.github.com/messages Please wait a day or two and then try again. Your page should probably work after that. -- Chris Warrick <https://chriswarr

Re: [nikola-discuss] Difficulty changing search button to a magnifying glass

2019-01-16 Thread Chris Warrick
ceived this message because you are subscribed to the Google Groups > "nikola-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nikola-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/o

Re: [nikola-discuss] Altering/Removing RSS link on auto-generated Categories index.html

2019-01-16 Thread Chris Warrick
ve it) > > So as a start, how would i remove the RSS feed from showing up on the page > below? Everything you see on a Nikola site comes from templates. Figure out which template this page comes from and modify it the way you want. -- Chris Warrick <https://chriswarrick.com/> PGP:

Re: [nikola-discuss] Difficulty changing search button to a magnifying glass

2019-01-16 Thread Chris Warrick
2 my-lg-0" data-children-count="1" role="search"> > > > > > > > > > > """ % SITE_URL > > However, i'm getting the below image > > > > what am i doing wrong? Did you put the required stylesheets/sc

Re: [nikola-discuss] Confused about the landing page

2019-01-16 Thread Chris Warrick
d an > email to nikola-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-disc

Re: [nikola-discuss] Confused about the landing page

2019-01-17 Thread Chris Warrick
> generate my landing page in pages, and then copy the generated html into the > files folder. Is this the way its meant to be done? Or is what i did a weird > hack? You're doing it wrong. Please follow https://getnikola.com/creating-a-site-not-a-blog-with-nikola.html Specifically, the inte

Re: [nikola-discuss] How to troubleshoot UnicodeDecodeError on `nikola build`? (Nikola 8.0.1)

2019-01-15 Thread Chris Warrick
ten enough, would you be interested in a > patch that does one of: > > a) make `nikola build` remove the file and try again? > b) output a suggestion for the user to remove the file and try again? It doesn't look as if either were easy to do. I can't even see any references to Nikola code in

Re: [nikola-discuss] Generate sections of pages or posts programmatically

2019-01-15 Thread Chris Warrick
late and .md/.rst files that are compatible with it (look at the projectpages plugin). -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop

Re: [nikola-discuss] How to troubleshoot UnicodeDecodeError on `nikola build`? (Nikola 8.0.1)

2019-01-14 Thread Chris Warrick
I can think of two reasons: 1. Corrupted .doit.db file -- please remove it and try again. 2. Files in your site with names that are invalid utf-8. -- Chris Warrick <https://chriswarrick.com/> On Mon, 14 Jan 2019, 12:42 Hi! > > My blog stopped building correctly at some

Re: [nikola-discuss] CNAME Not Staying in master Branch for Nikola GH

2019-01-14 Thread Chris Warrick
The importer replaces everything. This is why it's important not to have random files Nikola is unaware of. To fix this, put your CNAME file on the source branch, in the files directory. -- Chris Warrick <https://chriswarrick.com/> On Mon, 14 Jan 2019, 16:55 Svetlana Belkin Hi! > &g

Re: [nikola-discuss] Formulas in Jupyter notebooks

2019-01-15 Thread Chris Warrick
nd > > > > > -- > You received this message because you are subscribed to the Google Groups > "nikola-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nikola-discuss+unsubscr...@googlegroups.com. > For more op

Re: [nikola-discuss] addthis working for webpage on mobile but not on desktop browser

2019-01-15 Thread Chris Warrick
es this have anything to do with > it? > > thanks, Are you using ad blockers or other privacy-focused addons on desktop? -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" grou

Re: [nikola-discuss] Linkable anchors for subheaders

2019-01-14 Thread Chris Warrick
That already exists, look for the HEADER_PERMALINKS_* options. They're used on getnikola.com, for example. -- Chris Warrick <https://chriswarrick.com/> On Mon, 14 Jan 2019, 23:43 Aaron Meurer I'd like to have all the subheaders in my blog posts have linkable > anchors, so that I c

Re: [nikola-discuss] Changing theme in bootswatch

2019-01-16 Thread Chris Warrick
/nikola/data/themes/bootstrap4/templates/base.tmpl#L16 You can use THEME_CONFIG in conf.py to make it light, or you can override base.tmpl in your own theme and choose another color set. (Click the “source code” button on Bootswatch pages to find out what settings they use.) -- Chris Warrick &

Re: [nikola-discuss] base.tmpl: Include jumbotron only if the slug is index

2018-11-28 Thread Chris Warrick
blog index. In this case, you can check the post slug. % if post and post.slug('meta') == 'index': -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe f

  1   2   3   >