a tag panel
This commit is contained in:
parent
bb5e34a61d
commit
352a950755
14 changed files with 53 additions and 28 deletions
|
|
@ -13,6 +13,7 @@ using Npgsql.Web.Blog;
|
|||
using Yavsc.Helpers;
|
||||
using Yavsc;
|
||||
using System.Web.Mvc;
|
||||
using Yavsc.Model.Blogs;
|
||||
|
||||
namespace Yavsc.Controllers
|
||||
{
|
||||
|
|
@ -84,6 +85,10 @@ namespace Yavsc.Controllers
|
|||
/// </summary>
|
||||
public ActionResult Index ()
|
||||
{
|
||||
foreach (string tagname in new string[] {"Artistes","Accueil","Actualités","Mentions légales"})
|
||||
{
|
||||
ViewData [tagname] = BlogManager.GetTagInfo (tagname);
|
||||
}
|
||||
return View ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue