| 1 |
Descriptionscip-debian debian pelican 4.11.0+dfsg-2 pelican/patches/`drop-notmyidea-builtin-themes.patch`#Description.: Allow removal of the notmyidea theme |
| 2 |
It is possible to install the notmyidea theme for Pelican using |
| 3 |
pelican-themes, for instance: |
| 4 |
. |
| 5 |
git clone https://github.com/getpelican/pelican.git |
| 6 |
sudo pelican-themes -i pelican/pelican/themes/notmyidea |
| 7 |
. |
| 8 |
However, it is not possible to remove it: |
| 9 |
. |
| 10 |
$ sudo pelican-themes -r notmyidea |
| 11 |
notmyidea is a builtin theme. |
| 12 |
You cannot remove a builtin theme with this script, remove it by hand if you want. |
| 13 |
. |
| 14 |
This patch simply removes 'notmyidea' from the _BUILTIN_THEMES list. |
| 15 |
Authorscip-debian debian pelican 4.11.0+dfsg-2 pelican/patches/`drop-notmyidea-builtin-themes.patch`#Author.: Rafael Laboissière <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 16 |
Bug-Debianscip-debian debian pelican 4.11.0+dfsg-2 pelican/patches/`drop-notmyidea-builtin-themes.patch`#Bug-Debian.: https://bugs.debian.org/1015212scip-debian-bts debian-bts . . 1015212: |
| 17 |
Forwardedscip-debian debian pelican 4.11.0+dfsg-2 pelican/patches/`drop-notmyidea-builtin-themes.patch`#Forwarded.: not-needed |
| 18 |
Last-Updatescip-debian debian pelican 4.11.0+dfsg-2 pelican/patches/`drop-notmyidea-builtin-themes.patch`#Last-Update.: 2023-11-19 |
| 19 |
|
| 20 |
--- a/pelican/tools/pelican_themes.pyscip-debian debian pelican 4.11.0+dfsg-2 pelican/upstream/`pelican/tools/pelican_themes.py`: |
| 21 |
+++ b/pelican/tools/pelican_themes.pyscip-debian debian pelican 4.11.0+dfsg-2 pelican/upstream/`pelican/tools/pelican_themes.py`: |
| 22 |
@@ -28,7 +28,7 @@ |
| 23 |
) |
| 24 |
|
| 25 |
__version__ = "0.2" |
| 26 |
|
| 27 |
+_BUILTIN_THEMES = ["simple"] |
| 28 |
|
| 29 |
|
| 30 |
def main(): |