Sleek interactive Floating Journal Calendar

here is the event listener to evaluate the functions before inserting them to the page this way you can add functions to your template which will be then interpreted before applying them to your page:

event.listen {  
  name = "editor:pageCreating",  
  run = function(e)  
    if not e.data.name:startsWith("Journal/") then return end  
    local rawTemplate = space.readPage("Library/Custom/New_Journal_Template")  
    local tree = markdown.parseMarkdown(rawTemplate)  
    local expandedTree = markdown.expandMarkdown(tree)  
    local template = markdown.renderParseTree(expandedTree)  
    return { text = template, perm = "rw" }  
  end  
}

I still don’t understand why are you concerned on using date.today() in your template?

Also I don’t understand what is the problem with that? don’t you want the creation timestamp to be used in your template? then don’t use date.today() in your template. don’t seem to grasp the issue.