我无法从默认主题切换。我使用的是powershell,运行的是Windows 7。
我使用生成和查看
.Scripts\pelican .\content
.Scripts\pelican --listen即使是.Scripts\pelican -t 'notmyidea'也不能工作
我在我的项目文件夹中克隆了pelican themes和pelican plugins。下面是我的配置文件内容
publishconf.py:
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
# This file is only used if you use `make publish` or
# explicitly specify it as your config file.
import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *
# If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = 'https://aself.com'
RELATIVE_URLS = False
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing
#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""
THEME = "pelican-themes/blue-penguin"
# THEME = 'plumage'
# THEME = 'notmyidea'
LOAD_CONTENT_CACHE = False
PLUGINS_PATHS = ["plugins", "pelican-plugins"]
PLUGINS = ['assets','tipue_search']
TIPUE_SEARCH = True
# TEMPLATE_PAGES = {
# 'search.html': 'search.html',
# }发布于 2019-11-26 04:08:15
变化
THEME = "pelican-themes/blue-penguin"至
THEME = "blue-penguin"使用命令
pelican-themes -l将向您显示已安装的主题
https://stackoverflow.com/questions/54778195
复制相似问题