Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Seal 524 posts 2889 karma points MVP 7x c-trib
    Sep 02, 2016 @ 09:31
    Paul Seal
    2

    HTML Sitemap Example using Razor

    Hi all I just published a blog post showing how to create a simple HTML sitemap in Umbraco.

    http://www.codeshare.co.uk/blog/umbraco-html-sitemap-template-example-using-razor/

    I created this thread to help people find it when searching for help on here.

    Cheers

    Paul

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Sep 02, 2016 @ 12:27
    Nik
    1

    Hi Paul,

    Just a quick bit of feedback on the blog. It would be nice if it had a sample image to show what the sitemap could look like based on your razor. Not everyone will be able to visualise it based on just the code. :-)

    Other than that, useful code snippet :-)

    Thanks,

    Nik

  • Paul Seal 524 posts 2889 karma points MVP 7x c-trib
    Sep 02, 2016 @ 13:51
    Paul Seal
    0

    Hi Nik Thanks for the feedback, I've added an image to the post now.

    Here it is for anyone else reading this. Obviously needs styling.

    enter image description here

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Sep 02, 2016 @ 14:02
    Alex Skrypnyk
    0

    Hi Paul,

    Thanks, nice example, can you do the same in strongly typed models?

    We are trying to avoid dynamics now.

    Thanks,

    Alex

  • Paul Seal 524 posts 2889 karma points MVP 7x c-trib
    Sep 02, 2016 @ 15:25
    Paul Seal
    0

    If I get time, I will add it to the bottom of the post.

    Thanks

    Paul

  • Iranias Kushil Shalindra Weliwita 1 post 71 karma points
    Feb 07, 2024 @ 14:07
    Iranias Kushil Shalindra Weliwita
    0

    Hi Paul,

    I am using Umbraco 10 and followed the exact instructions to generating the document type and the template. I am a bit confused when it comes to the page creation and for some reason, the page is not generating the page links.

Please Sign in or register to post replies

Write your reply to:

Draft