ory and building again.
2. The file mentioned in the error should exist — double-check it
does, reinstall Nikola if it does not.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
t_deps
> return self.get_string_deps(text, context, filename=filename)
> File
> "/home/lrs/tmp/venv/lib64/python3.12/site-packages/nikola/plugins/template/mako.py",
> line 77, in get_string_deps
> LOGGER.error("Cannot find template {0} referenced in {1}",
> Messag
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.3.1. This release fixes some small bugs,
including some introduced by the new Nikola Plugin Manager.
The minimum Python version supported is now 3.8, and we have adopted
a formal policy to define the
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.3.0. This release adds support for Python 3.12,
with some other features and bugfixes.
Note that Nikola v8.3.0 no longer uses the Yapsy plugin manager,
which has been replaced by a custom, minimal
> > from nikola.__main__ import main
>>> > File
>>> > "/Users/pitosalas/.pyenv/versions/3.12.0/lib/python3.12/site-packages/nikola/__init__.py",
>>> > line 39, in
>>> > from .nikola import Nikola # NOQA
>>> > ^
apsy.PluginManager import PluginManager
> File
> "/Users/pitosalas/.pyenv/versions/3.12.0/lib/python3.12/site-packages/yapsy/PluginManager.py",
> line 134, in
> import imp
> ModuleNotFoundError: No module named 'imp'
Hi,
the plugin system Nikola is using (yapsy) is not compatib
d? Is it configured in
conf.py in the ASCIIDOC_BINARY setting? (The default is to use
`asciidoc` from your $PATH)
3. `nikola new_post` can generate the meta block for you if you pass
`-f asciidoc`
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subs
aybe this is problematic because items doesn't collect the sub-directory.
You can have any hierarchy for your site. PAGE_INDEX might not support
hierarchies though — perhaps you might want to write a custom plugin
(based on the existing PAGE_INDEX handler?) that would suit your needs
better?
--
C
os/ as
an additional directory for files. I'm not sure if putting videos in
images/ is the best choice, as Nikola may try to generate thumbnails
(and fail miserably, since only images are supported).
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message beca
d, foo is not found when rendering the template. Am I missing
> a step?
The variable got renamed to TEMPLATE_FILTERS.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" gro
it would be to put your custom content as
HTML within list.tmpl, and use {% if 'front_page' in pagekind %} to
control if it’s displayed.
If you want visitors going to / to be redirected to /home/, don’t.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received thi
ependency list and it should work (in typical environments, i.e. if
the path to the .py file doesn’t change very often).
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" g
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.4. This release comes with some new features
and a handful of bug fixes.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2
itles and then filter them out by that prefix. Something
like:
{% for text, link, count in items %}
{% if text.startswith("DIRECTORY-TITLE:") %}
{% set title = text.split("DIRECTORY-TITLE:")[1] %}
{% endif %}
{% endfor %}
And then do the same check for display (but
utomatically generated for all pages directories and subdirectories.
>> >>> It will use the list.tmpl template with the pagekind template variable
>> >>> containing "page_index" (it's a list).
>> >>>
>> >>> Listings a
matted HTML, with
>>> indexes added.
>>>
>>> If you want more granular control, and if your use-case does not fit
>>> the Nikola standard use-cases, you can use the post-list directive in
>>> a page: https://getnikola.com/handbook.html#post-list - It h
ctive in
a page: https://getnikola.com/handbook.html#post-list - It has
filtering options and it lets you customize the template, so it is
probably as flexible as you need (although I recommend exploring the
standard index pages first).
--
Chris Warrick <https://chriswarrick.com/>
PGP
and categories
* the "post list" directive/shortcode (placed in a page)
If you want to get a list of pages, you might want:
* page folder indexes (PAGE_INDEX setting)
* the "post list" directive/shortcode (placed in a page)
If you want to get a list of code files, the listings
ects; your custom meta field won’t be, but you
can still access the metadata dictionary with
post.meta['lang'].get("has_fancy_js_library"). You could also expose a
custom Python function in GLOBAL_CONTEXT to make this easier (this
might be necessary if you’re using Jinja2, which doesn’t allo
On Sun, 16 Apr 2023 at 16:30, Paul Moore wrote:
>
> This is probably more of a Javascript question than a Nikola one, but I want
> to create a template shortcode that relies on a Javascript library. The dirt
> simple approach is to just have a
cludes or
front-end JavaScript.
[0]: https://plugins.getnikola.com/v7/sidebar/
--
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 rece
iest, although it does require more
typing and you risk forgetting about it (you might want to write some
one-line shell script).
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss&quo
can easily use a third-party service that
offers an alternate bootstrap-compatible CSS. They are not useful for
anything else.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss"
you don’t have a custom theme).
> If I understand correctly, baugettebox is what is used for the Gallery
> feature of Nikola?
Yes, although you can use something else, Nikola does not mandate
using anything here.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You receiv
have the latest
version of `docutils` and force a rebuild of your posts and pages (by
doing `rm -rf cache` or `nikola build -a`).
(I added some code on `master` to ensure Nikola always rebuilds when
the docutils version changes.)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
-discuss/54209eeb-3359-48c6-b2a1-f757aa2e8a0bn%40googlegroups.com?utm_medium=email_source=footer>
> .
>
You can't specify HTML metadata from reST like this. You could use .html
posts with a mostly blank template, or use .html files (in the files/
folder).
--
Chris Warrick <https://chriswarrick
see
> https://github.com/getnikola/plugins/issues/417).
Tipue might be gone, but the plugin still works fine, so there is no
point in deprecating it without replacement.
If you know of a good alternative local search engine, feel free to
contribute a new plugin that adds support for it.
--
Ch
${foo("hello")} within a Mako template or {{
foo("hello") }} from a Jinja template.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To unsubscribe
reST include (if both files are reST).
> How would I go about writing a Python function in conf.py and calling it from
> the page?
Write a function as usual, and then put it in GLOBAL_CONTEXT ({"foo": foo}).
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You
buse the post-list mechanism:
every person gets their own page, and the post-list shows them
(including metadata and post content).
A third option would be server-side includes, but those are pretty silly IMO.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received th
conf.py), or deploy a stale version of the site (if you use different
output directories).
--
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 gr
mages/`, therefore `previewimage` behaves the same way `` or
`` would in the post. The best way to link to things is to use
root-relative (`/foo`) links.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
&qu
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.3. This is a bugfix release, which fixes
compatibility with python-markdown and two more minor bugs.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It
essary HTML. You might also split your content into separate
.rst files, tell the non-technical person to edit that, and then
include them (via reST directives) into the real file with raw-html
directives.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You rec
4d43094c79n%40googlegroups.com?utm_medium=email_source=footer>
> .
>
--
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
is rebuilding only what has been changed).
Find out more at the website: https://getnikola.com/
Downloads
=
Install using `pip install Nikola`.
Changes
===
* Compatibility with Pygments 2.12.0 (Issue #3617, #3618)
--
Chris Warrick <https://chriswarrick.com>
PGP: 5EAAEA16
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.1. This is a minor release with a couple
new features, as well as fixes for compatibility with the latest
version of doit.
What is Nikola?
===
Nikola is a static site and blog generator,
ratio to 3:1 and document behaviour.
--
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
t
do. If your compiler of
choice (i.e. reST/docutils, python-markdown, whatever) has some way of
generating output with all links set to `nofollow`, you could use
that. Otherwise, you’d need to write your own filter (usable with the
FILTERS setting in conf.py).
--
Chris Warrick <https://chriswa
g
Hi, we don’t know, since your question doesn’t contain any details.
Please provide more information - what auto-deployment method are you
using, what do you see in the logs, perhaps provide a link to your
repo.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received
you can upgrade to
v8.1.3 (by installing in a venv, or perhaps by letting the Fedora
maintainers know their package is outdated).
PS. terminology note: this is not a segfault, a segfault is a specific
type of error, found most often in badly written C/C++ code - those
are super rare in Python
. That includes
all the settings in conf.py, custom themes, plugins, and other things.
You can learn about everything by reading the manual [0] and other
docs [1].
[0]: https://getnikola.com/handbook.html
[1]: https://getnikola.com/documentation.html
--
Chris Warrick <https://chriswarrick.c
ng a request to gist.github.com. The
connection attempt failed, perhaps due to your employer/ISP/etc
messing with your traffic, or due to issues at GitHub. Try running
`nikola build` again, and if it fails with the same error, you can
just delete pages/manual.rst and avoid the network request altoget
-backend in
https://github.com/getnikola/nikola/pull/3520 . Other Nikola commands
are not affected, since they take the arguments themselves (most
doit-provided commands) or don’t use the database at all (most
Nikola-provided commands).
--
Chris Warrick <https://chriswarrick.com/>
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.1.3. This release has some minor fixes, and
a minor dependency change.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2
ake sense of the STRIP_INDEXES warning
> (tried both ways) and PRETTY_URLS (True) and don't think either is relevant
> to my problem - right?
What warning?
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
&qu
ache. Note that cases (b) and (c) aren’t specific to
Nikola and apply in many other cases.
--
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
n3.9/site-packages have deen damaged somehow. I need to
> remember this when more problems come up.
Installing stuff to ~/.local/ is not recommended, because you can get
conflicts between packages. Use a venv instead, as prescribed in the
Getting Started guide: https://getnikola.com/getting
rror: cannot import name 'natsorted' from 'natsort'
> (/home/dzu/.local/lib/python3.9/site-packages/natsort/__init__.py)
> >>>
> dzu@krikkit:~$
Works for me. Uninstall `natsort` and reinstall. If that doesn’t fix
it, inspect the __init__.py file and look for any weird things. Also,
NIKOLA_DEBUG=1) or use
> NIKOLA_SHOW_TRACEBACKS=1
> (nikola) dzu@krikkit:~/blog (master)$
>
> As this seems to be related to the new feature, I wonder if I am doing
> something wrong or if this is a bug?
>
> Anyway, any hint on how to fix this is warmly welcome!
Nikola v8.0.3
tyle. Are there a few standard
> troubleshooting steps to go through?
>
> Thanks!
>
> Blake
Did you change the THEME setting in conf.py?
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
&
index",
find a better one. (PythonAnywhere might not be the best choice/might
be overkill for hosting a static site.)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss&
keep track of
the number of code blocks already rendered — perhaps doable, but
requires more work, and might be ugly/expose internal details.
Why do you want a reproducible build?
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are
e.tmpl, but how can I use it?
What do you mean by “key pages over another blog”? If you want both
the posts and some other list, you’ll need to write a custom plugin
for that, we don’t expose the timeline to all pages for performance
reasons.
--
Chris Warrick <https://chriswarrick.com/
efore static files are served.
Forms could be a third-party component, or a PHP thing.
--
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 gr
Just use href="/downloads/whatever.pdf" and Nikola will do the right thing.
--
Chris Warrick <https://chriswarrick.com/>
On Fri, 18 Dec 2020, 10:01 Don Oxley, wrote:
> I'm trying to understand how to construct the href's needed to allow
> readers to download pdf files.
init wizard will ask about languages. If you want to change your
choice, change TRANSLATIONS and DEFAULT_LANG in conf.py. You might
also use translated values for some settings (there are examples on
how to do that in conf.py, all settings that support this are marked
as translatable).
--
strap3-based with some custom extras and CSS. You
should compare files between the two themes to recreate the old
layout.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To
tylesheet">
>> > type="text/css">
>> {% else %}
>> > type="text/css">
>> {% endif %}
>> {% else %}
>> {% if use_cdn %}
>> > href="https://maxcdn.bootstrapcdn.com/bo
x references and switch to
baguetteBox (you could find commits that do the switch in the themes
repo for an example).
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To
ubscribe from this group and stop receiving emails from it, send an
> email to nikola-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nikola-discuss/ba3cdadb-2aea-4512-a2e2-a644e8af90d0n%40googlegroups.com.
You c
tags (Issue #3405)
* Fix handling of duplicate plugins on Windows
* Allow else clause in post-list plugin. (Issue #3436)
* Ensure `type` metadata value from plugins is preserved (Issue 3445)
* Fix path handlers with slashes on Windows
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA
is does not affect the URLs, that would require much more work.)
--
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 em
`index` for the slug
3. Also create pages/agenda/now.rst, use `now` for the slug
4. Make sure that your PAGES config will lead to agenda being placed
in the site root (and not in a pages/ subdirectory)
NAVIGATION_LINKS hierarchies are independent of any paths, so you need
to specify '/agenda/'
heir documentation that talks about customizing
> templates but I don't see what needs to be changed to fix this.
>
> -Jim
This has already been solved on the master branch:
https://github.com/getnikola/nikola/issues/3457
https://github.com/getnikola/nikola/pull/3458
If reporting a bug,
indows symlinks in the repo. This might
require Windows’ Developer Mode to be enabled to work.
--
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 gr
repo and then run `pip install -U .` —
this should run our code in setup.py that fixes symlinks.
--
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
Windows platforms, those just appear
as standard symlinks in the filesystem.) You can also enable symlink
support and see if it changes anything:
https://github.com/git-for-windows/git/wiki/Symbolic-Links
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this mess
s in that pull request and see if it fixes the
issue?
--
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, sen
ategory links.
[0]: https://getbootstrap.com/docs/4.5/components/breadcrumb/
--
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 st
gle.com/d/msgid/nikola-discuss/14a2557d-dd5f-4ecf-bc6c-cbe75ed35c1do%40googlegroups.com.
Are you sure your BASE_URL/SITE_URL are set correctly? This looks as
if you misspelled http:// as http./ in that variable.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received thi
@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nikola-discuss/5a5e3525-0e8f-4b2c-87ee-210405601343n%40googlegroups.com.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed
of 'int' and 'NoneType'
>
> Is that the debug information that you need?
Yes. That ended up being a classic slashes-vs-backslashes bug in a
place that isn’t exercised too often (Windows + user-wide plugins +
duplicates in site is a very specific combination). Here's a PR to fix
it: https://gi
the
> error went away and Nikola is now working normally. So, the problem appears
> to be related to having a global plugin and, most likely, installing that
> same plugin locally.
>
> On Monday, July 13, 2020 at 7:05:19 AM UTC-6, Chris Warrick wrote:
>>
>> On Mon,
ugin):
# plugin here is a tuple:
# (path to the .plugin file, path to plugin module w/o
.py, plugin metadata)
for i, place in enumerate(self._plugin_places):
if plugin[0].startswith(place):
utils.LOGGER.warn("{}: {}, {}".format(i, place, plugin))
shots automatically
(simple file_dep + code from
pkgindex_theme_demo_screenshots/take_screenshots.js), but this will
require you to run `nikola build` twice (first run would build .ipynb
and make screenshots, and the second run would update the gallery).
--
Chris Warrick <https://chri
r_taxonomies:output\index.html :
>
> -
> My Current Setup:
> Windows 10 Home Single Language
> Python 3.8.3 64 bit
> Nikola 8.1.0
> doit 0.32.0
> mako 1.1.3
This looks like an issue with your t
contents.
* Added Post.save() method to modify Post contents.
* Made is_two_file a property that uses save()
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To unsubscrib
s generally a
minor issue.
>From a quick look, it seems you would need to override
base_helper.tmpl. Since `post` is not always defined, you will need an
if to check that, the easiest way would be to do it via `pagekind`.
And then, you could just do another check for post.meta('canonical')
and ins
Groups
> "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nikola-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nikola-discuss/27e9727e-237e-4d5c
any build process) that
creates the required shortcode file. You can use a text editor or
anything, but this `echo` command was meant to show what to put where.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Go
:
echo '${post.title()}' > shortcodes/foo.tmpl
And then you can use it in a post:
Post title is: {{% foo %}}
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
hich the shortcode is being used is available as the post
variable, so you can access the title as post.title, and data loaded
via the data field in the metadata using post.data(key).
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because
;
> My slug is {$slug}
>
> or is it ``slug``
>
> or is it :slug:
>
> our could it be {{% slug %}}
>
> nfw it is {{% raw %}}{{% slug %}}{{% /raw %}}
You could use a template-based shortcode:
https://getnikola.com/handbook.html#template-based-shortcodes
--
Chris Warrick <https://chr
inja2/environment.py",
> line 452, in getitem
> return obj[argument]
> jinja2.exceptions.UndefinedError: 'colorbox_locales' is undefined
>
>
> render_galleries:output/galleries/index.html :
>
> What's happening
r
example like this:
compiler = self.site.plugin_manager.getPluginByName('rest',
'PageCompiler').plugin_object
(the second argument is important)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discu
he three arguments are).
--
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-discuss+uns
it calls either the reST thing to generate code blocks, or use
pygments + NikolaPygmentsHTML directly, and put the pygments output in
the plugin’s output files.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google G
On Tue, 25 Feb 2020 at 22:34, José Abílio Matos wrote:
>
> On Tuesday, 25 February 2020 17.05.04 WET Chris Warrick wrote:
> > Yes, it is. The upstream package depends on `pytz`. Nikola uses
> > `dateutil` for its timezone support. We use tzlocal for a very minor
> > thi
On Tue, 25 Feb 2020 at 17:09, José Abílio Matos wrote:
>
> On Thursday, 6 February 2020 19.53.15 WET Chris Warrick wrote:
> > On behalf of the Nikola team, I am pleased to announce the immediate
> > availability of Nikola v8.0.4. This release fixes a few small bugs,
> >
Ubuntu parlance).
>
> I noticed that nikola carries two external python packages. There is
> a related text file:
>
> """
> We ship some third-party things with Nikola. They live here, along with their
> licenses.
>
> Packages:
>
> * tzlocal by Lennart
e also support BODY_END for other snippets; if you need more control,
you can override templates or make a custom theme. The `nikola theme`
command has a few options that can help with that (-c to copy a
template for overriding, -n to create a new theme)
--
Chris Warrick <https://chriswarrick.com/&
On Thu, 13 Feb 2020 at 20:22, Chris Warrick wrote:
>
> On Thu, 13 Feb 2020 at 15:54, Erik Ritch wrote:
> >>
> >> nikola init -q n
> >> cd n
> >> vim conf.py
> >> # change POSTS, PAGES, INDEX_PATH
> >> nikola new_post -t 'sample post'
still `story.tmpl` because the alternative would be quite
messy.)
I opened an issue on GitHub: https://github.com/getnikola/nikola/issues/3349
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikol
n
vim conf.py
# change POSTS, PAGES, INDEX_PATH
nikola new_post -t 'sample post'
vim pages/index.rst
# paste your content verbatim
nikola build
vim pages/index.rst
# add some text
nikola build
The last `nikola build` shows this build log:
Scanning postsdone!
. render_sources:output/i
file is not being generated anymore, but Nikola
does not delete stale/leftover files automatically. Run `nikola check
--clean-files` to delete the old files.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Goog
The setting is called PRETTY_URLS. (Those subfolders make for prettier URLs
except for file:// usage.)
--
Chris Warrick <https://chriswarrick.com/>
On Sun, 9 Feb 2020, 16:22 Tomas Zulberti, wrote:
> I follow the instructions for using nikola on an static site:
> https://getnikola.
e
> pointers or possible examples if something like this has been done before
> please?
>
> Thank you.
You could try doing this with a signal handler for the 'scanned'
signal that would go through site.timeline and modify post metadata.
--
Chris Warrick <https://chriswarrick.com/>
le: https://www.theregister.co.uk/2020/02/06/yahoo_breach_settlement/
They get it almost right, their Atom feeds look like this:
Yahooi!/i …
but Inoreader displays that to me as !, which kinda sucks.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You receive
On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.0.4. This release fixes a few small bugs,
including a date glitch that appeared around New Year’s Eve.
What is Nikola?
===
Nikola is a static site and blog generator, written in Python.
It
1 - 100 of 255 matches
Mail list logo