Giter VIP home page Giter VIP logo

Comments (3)

almet avatar almet commented on June 9, 2024

I can't reproduce that. Here is what I've done:

ecureuil /tmp » tree content
content
 ── cat1
│   └── post1.rst
└── cat2
    └── post2.rst

2 directories, 2 files
ecureuil /tmp » pelican content -o output                                                                                         
 [ok] writing /tmp/output/feeds/all.atom.xml
 [ok] writing /tmp/output/feeds/cat1.atom.xml
 [ok] writing /tmp/output/feeds/cat2.atom.xml
 [ok] writing /tmp/output/feeds/all-en.atom.xml
 [ok] writing /tmp/output/post-2.html
 [ok] writing /tmp/output/post-1.html
 [ok] writing /tmp/output/index.html
 [ok] writing /tmp/output/tags.html
 [ok] writing /tmp/output/categories.html
 [ok] writing /tmp/output/archives.html
 [ok] writing /tmp/output/category/cat1.html
 [ok] writing /tmp/output/category/cat2.html

And I don't have the problem. Are you sure you're using the last master ?

from pelican.

 avatar commented on June 9, 2024

Yes, i'm sure, i've just downloaded it...

But it works fine after modifying the file «pelican/generators.py»:
https://github.com/Skami18/pelican/commit/4fddcf6c925f25b8d8a5fe462519e8129573a7ab

from pelican.

almet avatar almet commented on June 9, 2024

Okay, your changes are far less hackish than the current way to get the category name, thanks.

from pelican.

Related Issues (20)

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.