getzola / after-dark Goto Github PK
View Code? Open in Web Editor NEWA dark theme for Zola
License: MIT License
A dark theme for Zola
License: MIT License
After Dark has moved https://git.habd.as/comfusion/after-dark/
Thank you for your interest.
Hi,
I'm using zola v0.6.0 and just ran into an issue with after-dark. Caused by sass being minified:
https://github.com/getzola/after-dark/blob/master/sass/_vendor.scss#L5
which renders into:
html{font-size:12px}*{box-sizing:border-box;text-rendering:geometricPrecision} ...
Which can't be parsed by either Firefox or Chrome, unless space is inseted before '*'.
Note: This only affects zola build not serve since serve preserves line breaks.
Hello,
I tried to build my website but always got this error:
Reason: Failed to render 'page.html'
Reason: Variable `page.title` not found in context while rendering 'page.html'
Please help me :)
gutenberg init site
git clone https://github.com/Keats/after-dark site/themes
gutenberg serve
Building site...
-> Creating 2 pages (0 orphan), 0 sections, and processing 0 images
Error: Failed to render pager 1
Reason: Failed to render 'after-dark/templates/index.html': error while rendering macro `post_macros::page_in_list`
Reason: Macro namespace `self` was not found in template `after-dark/templates/index.html`. Have you maybe forgotten to import it, or misspelled it?
OS: Arch Linux, installed from AUR
Got this immediately after cloning the theme into the themes
directory.
Hi,
sorry for this beginner question ... I'm struggling having all my blog posts inside a content/blog
directory and reserve content/foo for menu-navigation in the topnav, like this:
after_dark_menu = [
{url = "$BASE_URL/", name = "Home"},
{url = "$BASE_URL/download", name = "Download"},
{url = "$BASE_URL/support", name = "Support"},
{url = "$BASE_URL/company", name = "Company"},
{url = "$BASE_URL/blog", name = "Blog"},
]
currently it looks like:
content/
├── blog
│ ├── hello-world.md
│ └── _index.md
├── company
│ └── index.md
├── download
│ └── index.md
├── home.md
├── _index.md
└── support
└── index.md
The documentation explicitly says that all blogs must go into content/
and content/_index.md should set paginate_by = 5
.
How can I set have my root / correctly rendered to a static fixed page that always has the same content? It seems this is impossible according to the docs?
thanks
I put two posts in the content
directory and got the following error:
Error: Failed to render section ''
Reason: Failed to render 'after-dark/templates/index.html'
Reason: Variable `paginator.pages` not found in context while rendering 'after-dark/templates/index.html'
That's literally all I've done, so maybe there are extra steps to get things up and running that I'm not aware of.
Messing around with it, the padding value seems to be set here:
Line 257 in 9f1cc6c
I'm not sure if that's the best place to fix this, but I figure it's more important to make the bug report right now.
Here's an example image of list items that have more than 10 items:
Building site...
-> Creating 0 pages (0 orphan), 1 sections, and processing 0 images
Failed to build the site
Error: Failed to render pager 1
Reason: Template 'after-dark/templates/section.html' not found
rss = true
in taxonomies was renamed to feed = true
I have an override for index.html
template in my templates
folder and it's working fine with page.html
template, but for tags, it's ignored.
As a workaround, I have created another template for tags:
{% extends "after-dark/templates/tags/list.html" %}
{% block extra_head %}
# ... my changes
{% endblock %}
Don't know is this engine problem or template
italicized does not produce an italicized text.
Currently this theme only accepts a single menu configuration regardless of language. Can I provide menu configurations for each language my website supports?
I'm getting a macro error when rendering with gutenberg serve
:
$ gutenberg serve
Building site...
-> Creating 2 pages (0 orphan), 0 sections, and processing 0 images
Error: Failed to render pager 1
Reason: Failed to render 'index.html': error while rendering macro `post_macros::page_in_list`
Reason: Macro namespace `self` was not found in template `index.html`. Have you maybe forgotten to import it, or misspelled it?
Has something changed in this new release that would cause this, or have I done something wrong with the theme?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.