Blog - clicking on heading of posts to show post+comments

cdrick cdrick65 at gmail.com
Wed Jul 23 10:23:10 MEST 2008


I couldn't find a built-in option... except by clicking on comment(s)
which is not obvious to me, so I did that...

PBHtmlView>>renderPost: aPost on: html
	html div
		class: 'post';
		with: [
			html anchor name: aPost uuid.
			html anchor
				goto: (self context structure: aPost);
				with: [ html heading
					level: 1;
					with: aPost title].
			self render: aPost on: html.
			self renderMeta: aPost on: html ]

Does it worth commiting ? (not sur this is a good practise to
encapsulate an heading in an anchor)

Cédrick



More information about the smallwiki mailing list