Open sadasant opened 10 years ago
Yeah! I asked you things about Jekyll and Liquid because this was exactly my approach! I'll do my research and reply tonight.
Good :D
Okay so i've been reading a couple of tuts to mess around with my local copy, will come with something good later!
Hello sir,
So you told me you had two Yucas to collaborate, but hey, the site is under construction, so let's take this issue as an opportunity: let's build a programmable publisher.
The problem is this: Given the existence of Markdown files (file.mkd) with a future date, there must be a way to make it available only after that day is reached.
Having the above statement, let's take a look to the whole picture:
---
bars at the top are those variables, as you see, there's adate
variable over there, so we could use that to make them unavailable if the date is posterior to the current date.page
which has the defined variables as attributes, this object is available in the_layouts
, for example, here we're currently using the date variable.Tell me, what do you think? I'll give you any help if needed.