Help with Template Partials #6756
-
I'm trying to create an archive of all my writings. In the title-metadata block, I'd like to add a few fields, i.e., "Publication", "Original URL", "Archived URL", and I'd like to do so with the tabular listings as well. My understanding is that to do so I need to use template-partials. I've sought to do so using these files: When I run I've tried placing an exact copy of the I'm not sure I understand yet how exactly to use template-partials. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You're very close- the issue you're running into is that the template/partial system only permits you to provide a specific set of templates (not arbitrary templates). In the case of HTML, you are providing the HTH! |
Beta Was this translation helpful? Give feedback.
You're very close- the issue you're running into is that the template/partial system only permits you to provide a specific set of templates (not arbitrary templates). In the case of HTML, you are providing the
title-block
partial which is totally correct, but that partial points to the_title-meta-author.html
which we don't 'know' about. If you just take the contents of that file and copy and paste it directly into thetitle-block.html
file in place of any calls to_title-meta-author.html()
it should just work.HTH!