Skip to content

All this for the current content #255

Description

@cmwalolo

// all this just to get the current page :(

var currentPage = UmbracoContext.PublishedRequest?.PublishedContent;

Two lines shorter, and no need to go again through the routing ? But it would probably be better to use those views with components (and maybe a custom context to avoid redondant data discovery) that will create specific viewmodels. All this could be a good start point for further customization as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions