From 741c8e2e2ad42c4bbdf8f532d83eaf1fdcba5eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20L=2E=20=C5=A0ijanec?= Date: Fri, 1 May 2020 21:51:26 +0200 Subject: command detection made possible --- assets/content/global.bvr | 32 ++++++++++++++++---------------- assets/layout/html/post.bvr | 30 +++++++++++++++--------------- 2 files changed, 31 insertions(+), 31 deletions(-) (limited to 'assets') diff --git a/assets/content/global.bvr b/assets/content/global.bvr index c6bbef6..0a4c194 100644 --- a/assets/content/global.bvr +++ b/assets/content/global.bvr @@ -1,25 +1,25 @@ # max 128 characters -?set site_name=Anton Luka Šijanec +<@?s site_name=Anton Luka Šijanec@> # max 2 characters -?set site_language=sl +<@?s site_language=sl@> # max 128 characters -?set site_description=Moj osebni blog. +<@?s site_description=Moj osebni blog.@> # max 32, max 64 characters per entry -?set featured_links=posts/about,posts/contact,posts/sample-post +<@?s featured_links=posts/about,posts/contact,posts/sample-post@> # max 64 characters or latest-posts -?set index_page=pages/about +<@?s index_page=pages/about@> # centered paragraph width. Can be 1, 2, 3, 4; 5 means text is left centered. -?set content_width=8 +<@?s content_width=8@> # hour offset to format dates with. NOTE: 11 is subtracted to this value. GMT is then 11, Ljubljana is then 13 -?set timezone=13 +<@?s timezone=13@> # what folders to copy from layout to dist (such as fonts) -?set copy_folders=fonts,media +<@?s copy_folders=fonts,media@> # post-specific variables --- you should set them now. unset variables may cause problems. -?set post_description=Unset description. -?set post_author=anonymous -?set post_header_image=transparent -?set post_header_color=black -?set post_heading=Unnamed post. -?set post_subheading=Unset subheading. -?set post_date=2020-04-29T15:05:10+00:00 -?set post_slug=posts/undefined +<@?s post_description Unset description.@> +<@?s post_author anonymous@> +<@?s post_header_image transparent@> +<@?s post_header_color black@> +<@?s post_heading Unnamed post.@> +<@?s post_subheading Unset subheading.@> +<@?s post_date 2020-04-29T15:05:10+00:00@> +<@?s post_slug posts/undefined@> diff --git a/assets/layout/html/post.bvr b/assets/layout/html/post.bvr index bfcf80c..39391b8 100644 --- a/assets/layout/html/post.bvr +++ b/assets/layout/html/post.bvr @@ -1,29 +1,29 @@ - + - - + + - <@?get post_heading@> :: <@?get site_name@> - <@get site_description@> + <@?g post_heading@> :: <@?g site_name@> - <@g site_description@> - <@?include navigation@> + <@?i navigation@> -
+
-
+
-

<@?get post_heading@>

-

<@?get post_subheading@>

+

<@?g post_heading@>

+

<@?g post_subheading@>

Posted by - <@?author name ?get post_author@> - on <@?format_date ?get post_on_date?> + <@?g post_author_name@> + on <@?g post_date?>
@@ -34,13 +34,13 @@
-
- <@?include_and_format_body ?post_slug@> +
+ <@?i ?post_slug@>

- <@?include footer@> + <@?i footer@> - \ No newline at end of file + -- cgit v1.2.3