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. :-)
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.
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
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
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.
Hi Paul,
Thanks, nice example, can you do the same in strongly typed models?
We are trying to avoid dynamics now.
Thanks,
Alex
If I get time, I will add it to the bottom of the post.
Thanks
Paul
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.
is working on a reply...