Maxime
604c8abb59
Remove debug line, add file name as default title
2015-07-25 22:39:13 +02:00
Maxime
ef4a4b0ab8
Removed attribute not needed.
2015-07-24 22:17:14 +02:00
Maxime
24bdb433c9
Changed .Var to .Doc in Markdown templates
...
Put the title into the .Doc variables as well.
Changed the test template file to use new names.
2015-07-24 22:14:05 +02:00
Maxime
97dcc79a7f
Remove undesired committed debug logs
2015-07-23 11:53:15 +02:00
Maxime
bc2feece4b
Moved test files to testdata folder.
...
Changed the tests accordingly.
2015-07-23 09:35:46 +02:00
Maxime
2df30d186e
Added a test on markdown for the default template
2015-07-21 17:45:32 +02:00
Maxime
6451e10d3e
Add context to markdown template
...
Created a struct containing middleware.Context, Title, Markdown and the
variables from the user to use to render the template.
The title now can be accessed via {{.Title}}.
The variables can now be accessed via {{.Var.myVariableName}}.
2015-07-21 07:58:34 +02:00
Matthew Holt
4272536518
markdown: sitegen keyword and run generation at startup
...
Also fixed bug for markdown files that don't contain front matter
2015-05-09 21:12:52 -06:00
Matthew Holt
8ea98f8cce
markdown: Fix panic: assignment to entry in nil map
...
Ensures metadata.Variables is made
2015-05-09 11:49:28 -06:00
Abiola Ibrahim
2f5e2f39cb
markdown: remove identifier from Json metadata
2015-05-09 11:49:54 +01:00
Abiola Ibrahim
6ce83aad2b
markdown: Refactor fixes
2015-05-09 00:54:39 +01:00
Abiola Ibrahim
48a12c605a
markdown: Added template support.
2015-05-08 23:45:31 +01:00
Abiola Ibrahim
0fccd3707d
markdown: documentation done. awaiting test
2015-05-08 16:20:07 +01:00
Abiola Ibrahim
ba613a1567
markdown: template integration done. awaiting documentation and test
2015-05-07 13:45:27 +01:00
Abiola Ibrahim
0bfdb50ade
markdown: working version of template integration. Awaiting static site generation and tests.
2015-05-07 00:19:02 +01:00
Abiola Ibrahim
25847a6192
markdown: added template codes. awaiting integration and tests
2015-05-06 03:37:29 +01:00