﻿@model Dinamico.Models.ContentPage

@{
	Content.Define(re => 
	{
		re.Title = "News page";
		re.IconUrl = "{IconsUrl}/newspaper.png";
		re.DefaultValue("Visible", false);
		re.RestrictParents("Container");
		re.Sort(N2.Definitions.SortBy.PublishedDescending);
	});
}

@Html.Partial("LayoutPartials/BlogContent")
@using (Content.BeginScope(Content.Traverse.Parent()))
{
	@Content.Render.Tokens("NewsFooter")
}

﻿@model Dinamico.Models.ContentPage

@{
	Content.Define(re => 
	{
		re.Title = "News page";
		re.IconUrl = "{IconsUrl}/newspaper.png";
		re.DefaultValue("Visible", false);
		re.RestrictParents("Container");
		re.Sort(N2.Definitions.SortBy.PublishedDescending);
		re.Tags("Tags");
	});
}

@Html.Partial("LayoutPartials/BlogContent")
@using (Content.BeginScope(Content.Traverse.Parent()))
{
	@Content.Render.Tokens("NewsFooter")
}

Add tagging capability to Dinamico news page
Add tagging capability to Dinamico news page
