Pelican-Elegant / elegant

Best theme for Pelican Static Blog Generator
https://elegant.oncrashreboot.com/
MIT License
293 stars 187 forks source link

Category appears under tags #283

Closed talha131 closed 5 years ago

talha131 commented 5 years ago

It shouldn't be there. We have a specific row for it. Clicking on it takes to all tags page which is wrong.

iranzo commented 5 years ago

image

Works fine for me with current 'master' templates:

---
author: Pablo Iranzo Gómez (pablo.iranzo@gmail.com)
title: Use custom domain name with Blog-O-Matic
tags: pelican, foss, travis, ci/cd, elegant, blog, python, github, blog-o-matic, linux
layout: post
date: 2019-05-16 22:29:14 +0200
comments: true
category: tech
description:
---
talha131 commented 5 years ago

No, the bug is still present and my guess is that this bug is in Pelican code.

I tried default theme

Notice that "Monetization" which is a category is present in tags field.

We may have to debug pelican code.

iranzo commented 5 years ago

I guess it's on pelican, the one we render at https://pelican-elegant.github.io/amazon-onelink (I guess it's the one you use as sample) is not showing it when using latest pelican generator

talha131 commented 5 years ago

That's strange. I am using

pelican --version
4.0.1

I am going to investigate this in a fresh env.

iranzo commented 5 years ago

What I'm using:

Package         Version
--------------- -------
beautifulsoup4  4.7.1  
blinker         1.4    
bs4             0.0.1  
cssmin          0.2.0  
cssutils        1.0.2  
docopt          0.6.2  
docutils        0.14   
feedgenerator   1.9    
ghp-import      0.5.5  
Jinja2          2.10   
Markdown        3.0.1  
MarkupSafe      1.1.0  
pandoc          1.0.2  
pelican         4.0.1  
peru            1.2.0  
piexif          1.1.2  
Pillow          6.0.0  
pip             19.1.1 
ply             3.11   
Pygments        2.3.1  
pypandoc        1.4    
pysvg           0.2.2  
python-dateutil 2.7.5  
pytz            2018.9 
PyYAML          3.13   
setuptools      41.0.1 
six             1.12.0 
smartypants     2.0.1  
soupsieve       1.7.1  
typogrify       2.0.7  
Unidecode       1.0.23 
webassets       0.12.1 
wheel           0.32.3 

That's from my laptop, virtualenv on website is regenerated each time with 'latest' versions available

talha131 commented 5 years ago

Thank you. I will compare.

On Tue, Jun 11, 2019 at 3:39 PM Pablo Iranzo Gómez notifications@github.com wrote:

What I'm using:

Package Version


beautifulsoup4 4.7.1 blinker 1.4 bs4 0.0.1 cssmin 0.2.0 cssutils 1.0.2 docopt 0.6.2 docutils 0.14 feedgenerator 1.9 ghp-import 0.5.5 Jinja2 2.10 Markdown 3.0.1 MarkupSafe 1.1.0 pandoc 1.0.2 pelican 4.0.1 peru 1.2.0 piexif 1.1.2 Pillow 6.0.0 pip 19.1.1 ply 3.11 Pygments 2.3.1 pypandoc 1.4 pysvg 0.2.2 python-dateutil 2.7.5 pytz 2018.9 PyYAML 3.13 setuptools 41.0.1 six 1.12.0 smartypants 2.0.1 soupsieve 1.7.1 typogrify 2.0.7 Unidecode 1.0.23 webassets 0.12.1 wheel 0.32.3

That's from my laptop, virtualenv on website is regenerated each time with 'latest' versions available

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Pelican-Elegant/elegant/issues/283?email_source=notifications&email_token=AAILIRGBWOLQ4P2JDHIWNX3PZ56GRA5CNFSM4HCRCXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXMWKGY#issuecomment-500786459, or mute the thread https://github.com/notifications/unsubscribe-auth/AAILIRERK7RL3J26OW2EEF3PZ56GRANCNFSM4HCRCXPQ .

talha131 commented 5 years ago

Fixed via aae403ef046b77c204bf2669aff475872b10dfba

Apparently it is not enough to update Pelican. You also need to have the updated Makefile