Function Curation

This is a copy of customizable function for future use.

Metadata

In order to add metadata to each note you should create a table with two columns: “name” and “value”. Like this: There are several optional metadata properties that you can specify:
  • location - location where the content was created. E.g. ‘New York’.
  • description - short description of the content.
  • date - date of the creation. Format YYYY-MM-DD. E.g. ‘2022-07-15’
  • tags - comma separated tags/keywords.
  • language - two letter language code.
• RTL - left to right text orientation. You can add any additional metadata property that you consider valuable.

Special Note’s Metadata

namevaluedescription
pinnedyes/no (Default: no)Pin the note to the top of the collection page.
showInFooteryes/no (Default: no)Show the note in the footer navigation and remove it from the default navigation.
authorName of the authorName of the author if site has multiple authors. For each author you need to create page in “authors” folder inside your site.
emojiDefault: noneYou can add emoji property and it will be used as favicon for this page. Use single emoji only.
dateDefault: Apple note dateDate when this note was originally created. Useful if you published it before creating Apple Note.
slugDefault: from titleIf you don't like generated URL slugs for your notes, you can specify custom one.
showBreadcrumbsyes/no (Default: no)Show folder name before the Note title.
showInMenuyes/no (Default: yes)Show note in the main list/menu.
showNoteNavigationyes/no (Default: no)Show links to the previous and next notes.
showNoteFooteryes/no (Default: yes)Show global footer on each Note's page.
showNoteMetadatayes/no (Default: no)Show metadata on Note's page.
dateFormatDefault: YYYY-MM-DDFormat of dates on the note page.
fontFamilyDefault: helveticaOther values "sans-serif", "avenir", "athelas", "georgia", "times", "bodoni", "calisto", "garamond", "baskerville"
fontSizeDefault: 16pxAny value.
backgroundColorDefault: whiteUse hex code.
textColorDefault: blackUse hex code.
titleColorDefault: blackUse hex code.
codeHighlightyes/no (Default: no)Highlight monospace text as code.
hideFooterLinksDefault: noHide all the links in footer.
hideHeaderDefault: noHide the header of the page.
Special Collection’s Metadata Home page and any folder page are considered “collection” pages. If you want to customize behavior of collection create special note called “index”(in the root of your site or for each specific folder as you wish).
namevaluedescription
titleDefault: collection nameSet custom collection title that is different from the folder name.
showChildrenyes/no (Default: yes)If set to “no” it will disable rendering of links to the notes and folders inside this collection.
sortBytitle/update/create (Default: create)Sort notes by create date, updated date or title.
RTLyes/no (Default: no)If set to “yes”, the text in all the notes in this folder will go right to left.
showBreadcrumbsyes/no (Default: no)Show folder name before the Note title.
showInMenuyes/no (Default: yes)Show folder in the main list/menu.
showNoteNavigationyes/no (Default: no)Show links to the previous and next notes.
showNoteFooteryes/no (Default: yes)Show global footer on each Note's page.
showNoteMetadatayes/no (Default: no)Show metadata on Note's page.
dateFormatDefault: MMM D, YYYYFormat of dates on the preview pages.
fontFamilyDefault: helveticaOther values "sans-serif", "avenir", "athelas", "georgia", "times", "bodoni", "calisto", "garamond", "baskerville"
fontSizeDefault: 16pxAny value.
backgroundColorDefault: whiteUse hex code.
textColorDefault: blackUse hex code.
titleColorDefault: blackUse hex code.
listItemTitleColorDefault: blackUse hex code.
openExternalLinksInNewTabDefault: noIf set to "yes" will force all external links to be opened in new tab.
layoutList, feed, grid, table(Default: timeline)Layout option that dictates how notes should be shown on the folder/collection page. By default they are show as a list.
hideFooterLinksDefault: noHide all the links in footer.
hideHeaderDefault: noHide the header of the page.
linksUnderlinedDefault: noUnderline links.
resetHeaderStyleDefault: noUse it to remove special formatting for titles and breadcrumbs.
resetBoxStyleDefault: noUse it to reset styles for next/prev post boxes and newsletter subscribe box.
newsletterSubscribeButtonDefault: SubscribeCustomize subscribe button text.
newsletterSubscribeCallToActionDefault: Sign up for newsletterCustomize subscribe input text.
noteNavigationStyleDefault: noneIf you set "showNoteNavigation" to 'yes' navigation will be shown as boxes at the bottom of the page. If you set it to "arrow" - it will show up as two arrows at the top.
widthDefault: noneIf you want layout to spread and take 100% of the page set it to "wide".
Metadata is merged this way: note's metadata takes precedence over folder's metadata and folder's over site's. Previous 14th July 2023 Markdown Next14th October 2022 Navigation 2022-05-31Montaigne © 2022-2024 ArchiveRSS feedTwitterGitHubEmail Made with Montaigne and Alto —— background hex code: #FBFAE5 #eeeee4 #eeeee4