+ @if (hasRelatedArticles)
+ {
+
+ @viewModel.Title
+
+ @viewModel.PublicationDate.ToString("D")
+
+ @if (!string.IsNullOrEmpty(viewModel.TeaserUrl))
+ {
+
+
+
+
+
+ }
+
+
+ @Html.Raw(viewModel.Text)
+
+
+
+
+
+ }
+ else
+ {
+
+
+ @if (!string.IsNullOrEmpty(viewModel.TeaserUrl))
+ {
+
+
+
+
+
+ }
+
+
@viewModel.Title
+
+ @viewModel.PublicationDate.ToString("D")
+
+
+
+
+
+ @Html.Raw(viewModel.Text)
+
+
+
+ }
+
+
+
\ No newline at end of file
diff --git a/examples/DancingGoat/PageTemplates/Article/_ArticleWithSidebar.cshtml b/examples/DancingGoat/PageTemplates/Article/_ArticleWithSidebar.cshtml
new file mode 100644
index 0000000..90d24c1
--- /dev/null
+++ b/examples/DancingGoat/PageTemplates/Article/_ArticleWithSidebar.cshtml
@@ -0,0 +1,45 @@
+@using Kentico.Content.Web.Mvc.PageBuilder
+
+@using DancingGoat.PageTemplates
+@using DancingGoat.Widgets
+@using DancingGoat.Models
+
+@model TemplateViewModel
+
+@{
+ Layout = "~/Views/Shared/_DancingGoatLayout.cshtml";
+ var templateModel = Model.GetTemplateModel