Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page doesn't have category #68

Closed
wants to merge 1 commit into from
Closed

page doesn't have category #68

wants to merge 1 commit into from

Conversation

if1live
Copy link
Contributor

@if1live if1live commented Aug 31, 2013

Tipue_search is not working with page. because, page(e.g., “About”, “Projects”, “Contact”) doesn't have category.

@talha131
Copy link
Contributor

@if1live may be I am just not thinking deeply enough. I just created a page content/pages/why.md. Filled it with dummy text

Title: The second article
Date: 2012-12-01 10:02

See below intra-site link examples in Markdown format.
This is random text. Does it work.

and the search still worked. No exception was thrown. Can you please tell me more so that I can learn what I missed?

@if1live
Copy link
Contributor Author

if1live commented Aug 31, 2013

I use only markdown syntax in page markdown file.

See below intra-site link examples in Markdown format.
This is random text. Does it work.

maybe if no page information(e.g. title, data...), there is no category attribute.

@talha131
Copy link
Contributor

@if1live I failed to reproduce it. If a page or article has not title attribute Pelican doesn't process the page. I tried it and I got this error

WARNING: Could not process pages/why.md
u'title'

I am using latest version of Pelican from the Git repo. This is the output of pip freeze

Jinja2==2.7.1
Markdown==2.3.1
MarkupSafe==0.18
Pygments==1.6
Sphinx==1.2b1
Unidecode==0.04.12
beautifulsoup4==4.1.3
blinker==1.2
docutils==0.10
feedgenerator==1.6
feedparser==5.1.3
pelican==3.3
pudb==2013.3.5
pytz==2013b
six==1.3.0
smartypants==1.6.0.3
typogrify==2.0.0
urwid==1.1.1
wsgiref==0.1.2

@if1live
Copy link
Contributor Author

if1live commented Aug 31, 2013

Oops. sorry. my fault. I use pelican 3.2.2, not latest version.
Maybe this problem is fixed in latest version.

@if1live if1live closed this Aug 31, 2013
@talha131
Copy link
Contributor

By the way due to your pull request, I realized I have forgotten to write a Page template for theme elegant. Thanks @if1live.
I am going to push it out in an hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants