Coder Social home page Coder Social logo

after-dark's People

Contributors

andrewbanchich avatar apiraino avatar basixkor avatar bobo1239 avatar elliottt avatar jacobhin2 avatar jieiku avatar keats avatar nicknovitski avatar tshepang avatar victortoso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

after-dark's Issues

Tags template do not support index.html override

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

Error: Failed to render pager 1

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

Doesn't build with gutenberg-0.4.2

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?

Multilingual menu

Currently this theme only accepts a single menu configuration regardless of language. Can I provide menu configurations for each language my website supports?

error while rendering macro `post_macros::page_in_list`

Steps

  • gutenberg init site
  • git clone https://github.com/Keats/after-dark site/themes
  • EDIT the config.toml as in README
  • COPY site/themes/after-dark/content/* TO site/content
  • 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

Fails to render pages, `paginator.pages` not found in context

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.

posts in /blogs subdirectory

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.