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

Read any page metadata #63

Closed
wants to merge 29 commits into from
Closed

Read any page metadata #63

wants to merge 29 commits into from

Conversation

kpavlov
Copy link

@kpavlov kpavlov commented Aug 10, 2013

Page meta data is not limited to predefined set of keys. No more need for adv-meta plugin (https://github.com/shawnsandy/adv-meta)

David Cochran and others added 20 commits July 7, 2013 21:48
any fields can be added into the page meta section for use in themes
e.g.
/*
BodyClass: amazeballs
*/
could be used in a template as:
<body{% if meta.bodyclass %} class="{{ meta.bodyclass }}"{% endif %}>

Specifying a "Template" field will attempt to load a a template html
file with that name from the current theme directory e.g.
/*
Template: spesh
*/
attempts to use "spesh.html" but falls back to "index.html" if the file
does not exist.
get_files() will ignore dotfiles now
allow custom meta fields and templates per page
using composer for markdown
installed markdown and committed so that its still a simple,
download > add content deal for install
Removed `config.php` from repo, and replaced w/ `config.php.dist`.
This allows users to update their Pico install w/o changing their
settings.

Additionally now ignoring user added themes.
Removed `config.php` from repo, and replaced w/ `config.php.dist`.
This allows users to update their Pico install w/o changing their
settings.

Additionally now ignoring user added themes.
- Expose file last modification timestamp in page properties
Support for excerpt in meta
@gilbitron
Copy link
Collaborator

I appreciate all of this work guys, but pull requests should be limited to one feature per request. This is great as a fork but impossible to consume in one pull.

@gilbitron gilbitron closed this Sep 4, 2013
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.

6 participants