Don't need to add titleize to cosmo_helpers
This commit is contained in:
parent
c5c4c493e1
commit
98e219ac50
@ -72,8 +72,6 @@ titleize_slug = (slug="") ->
|
|||||||
|
|
||||||
-- replace '$if' helper function with cosmo's 'cif'
|
-- replace '$if' helper function with cosmo's 'cif'
|
||||||
html_renderer.cosmo_helpers.if = (args, has_block) => cosmo.cif args, has_block
|
html_renderer.cosmo_helpers.if = (args, has_block) => cosmo.cif args, has_block
|
||||||
-- add a '$titleize' helper function
|
|
||||||
html_renderer.cosmo_helpers.titleize = (slug) => titleize_slug slug
|
|
||||||
|
|
||||||
files_from = (path=".") ->
|
files_from = (path=".") ->
|
||||||
[Path.join path, file for file in *reverse get_files path]
|
[Path.join path, file for file in *reverse get_files path]
|
||||||
@ -88,6 +86,7 @@ sitegen.create =>
|
|||||||
@site_title = "WebDevCat.me"
|
@site_title = "WebDevCat.me"
|
||||||
@app_name = "stasis"
|
@app_name = "stasis"
|
||||||
@version = "0.2.12"
|
@version = "0.2.12"
|
||||||
|
@titleize = (slug) => titleize_slug slug
|
||||||
|
|
||||||
@just_render_the_damn_list = (arg={}, _) =>
|
@just_render_the_damn_list = (arg={}, _) =>
|
||||||
posts = [post for post in *get_posts @, arg.limit]
|
posts = [post for post in *get_posts @, arg.limit]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user