I have downloaded and installed the dev tools for Orchard, so I can examine shapes. I can see many nifty things I had trouble figuring out before, but one still stumps me.
I am assuming that the same piece that assembles the “Blog entry previews” is the same piece that assembles the entire blog entry itself when viewed on its own page. At least, that is what I am seeing via the Shapes tool.
However, what I cannot seem to find is that one portion that handles everything from the H1 to the tags. I can see where it is brought in, in the file
as there is the
That sits between the <header> html tag and the <div class="metadata"> that handles the publish date and the comment count. However, I cannot seem to find where the Model.Header brings its information in from, and how it determines
what to bring in.
You see, I want to modify the location of tags. Since both the previews as well as the full blog posts appear to be handled by Content.cshtml (as previously mentioned), removing tags from the Model.Header will remove it from that location in both display
formats. And if I put the tags at the end of the blog post itself, they won’t show up in the previews because the previews truncate the blog posts to 200 characters (the default).
My main problem is how to find out *where* the tags are shoehorned into Model.Header, and how to modify it. Suggestions?
And as for putting them at the end of the blog posts themselves… suggestions? I would prefer if they did not show up in the list of blog entries (the blog summary page which is usually the front page of a blog), but as long as they do not show up
between the title and the meta, I can handle having them appear after the truncated content (not ideal, but I am willing to suffer that for now).