Proper Microformats2 h-entry p-name + u-uid markup

This commit is contained in:
Mikael Nordfeldth 2016-03-02 13:10:02 +01:00
parent e4e0a39dad
commit 6529fdd28d
2 changed files with 3 additions and 3 deletions

View File

@ -179,8 +179,8 @@ class NoticeListItem extends Widget
function showNoticeTitle() function showNoticeTitle()
{ {
if (Event::handle('StartShowNoticeTitle', array($this))) { if (Event::handle('StartShowNoticeTitle', array($this))) {
$this->element('a', array('href' => $this->notice->getUrl(true), $this->element('a', array('href' => $this->notice->getUri(),
'class' => 'notice-title'), 'class' => 'p-name u-uid'),
$this->notice->getTitle()); $this->notice->getTitle());
Event::handle('EndShowNoticeTitle', array($this)); Event::handle('EndShowNoticeTitle', array($this));
} }

View File

@ -1013,7 +1013,7 @@ content: ":";
clear:both; clear:both;
} }
.notice-title { .notice-headers > .u-uid {
display:none; display:none;
} }