custom template "Write your page here."

45 views
Skip to first unread message

gekis

unread,
Mar 12, 2023, 9:06:16 AM3/12/23
to nikola-discuss
hi,

I would like to include 
..    include:: <isonum.txt>
in every new future post .

I can't find how can I alter "Write your page here."
I did looked in nikola handbook , but page.tmpl is not looking like what I'm looking for .
I can't find how to write symbols in rst text  .

Maybe I'm looking in a wrong way what I want to achieve .

Chris Warrick

unread,
Mar 12, 2023, 1:13:23 PM3/12/23
to nikola-...@googlegroups.com
There is no straightforward way to change this template. However, you
have two options to get it done anyway:

1. Use the import feature of new_post (nikola new_post -i template.rst)
2. Override the translations (messages_en.py) in your theme and change
the messages to something else.

The first way is probably the easiest, 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
Reply all
Reply to author
Forward
0 new messages