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

templates: select template depending on type #8

Open
drjova opened this issue Nov 27, 2015 · 0 comments
Open

templates: select template depending on type #8

drjova opened this issue Nov 27, 2015 · 0 comments

Comments

@drjova
Copy link
Member

drjova commented Nov 27, 2015

We want to include different templates depending on data type and always fallback to the default.

for example:

{
  "title": "Hello",
  "_type": "book"
}

The record results directive should look first for templates/marc21/book.html and fallback to templates/marc21/default.html if it doesn't exist.

@drjova drjova self-assigned this Nov 27, 2015
@drjova drjova added this to the v0.0.1 milestone Nov 27, 2015
@jirikuncar jirikuncar modified the milestones: v0.0.1, v0.1.0 Dec 1, 2015
@jirikuncar jirikuncar modified the milestones: someday, v0.1.0 Jan 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants