diff --git a/css/blog.css b/css/blog.css new file mode 100644 index 0000000..0d89c0e --- /dev/null +++ b/css/blog.css @@ -0,0 +1,3 @@ +.no-sidebar .content-container.size3of4 { + width: 75%; +} diff --git a/templates/Includes/BlogPostSummary.ss b/templates/Includes/BlogPostSummary.ss new file mode 100644 index 0000000..b81146d --- /dev/null +++ b/templates/Includes/BlogPostSummary.ss @@ -0,0 +1,17 @@ +
+ $FeaturedImage.setWidth(795) +
+ <% end_if %> +$Content.Summary(30,0)
+ ++ <% if $NotFirstPage %> + ← + <% end_if %> + + <% loop $Pages %> + <% if $CurrentBool %> + $PageNum + <% else %> + <% if $Link %> + $PageNum + <% else %> + ... + <% end_if %> + <% end_if %> + <% end_loop %> + + <% if $NotLastPage %> + → + <% end_if %> +
+<% end_if %> diff --git a/templates/Layout/Blog.ss b/templates/Layout/Blog.ss new file mode 100644 index 0000000..7bcd52f --- /dev/null +++ b/templates/Layout/Blog.ss @@ -0,0 +1,17 @@ +<% require css(blog/css/blog.css) %> + +$FeaturedImage.setWidth(795)
+ <% end_if %> ++ <%t Blog.Posted 'Posted' %> $PublishDate.Ago + | <%t Blog.Tags 'Tags' %>: <% loop $Tags %>$Title<%if not $Last%>,<% end_if %> <% end_loop %> + | <%t Blog.Categories 'Categories' %>: <% loop $Categories %>$Title<%if not $Last%>,<% end_if %> <% end_loop %> +
+