Properly set p-name on h-feeds, rather than trying to infer it and getting awful names
This commit is contained in:
parent
46c393552a
commit
db32b02811
7 changed files with 25 additions and 16 deletions
|
@ -2,7 +2,7 @@ body > main
|
|||
display: flex
|
||||
flex-direction: column
|
||||
align-items: center
|
||||
> ol.h-feed
|
||||
> div.h-feed
|
||||
flex: 1
|
||||
margin-bottom: 0
|
||||
> aside.author
|
||||
|
@ -16,7 +16,7 @@ body > main
|
|||
body > main
|
||||
flex-direction: row-reverse
|
||||
align-items: unset
|
||||
> ol.h-feed
|
||||
> div.h-feed
|
||||
margin-right: 2em
|
||||
> aside.author
|
||||
margin-bottom: 0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<aside .author>^{hCard user}
|
||||
^{hFeed entries}
|
||||
^{hFeed title entries}
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
ol.h-feed
|
||||
list-style: none
|
||||
padding-left: 0
|
||||
> li:not(:last-child)
|
||||
margin-bottom: 1em
|
||||
div.h-feed > ol > li:not(:last-child)
|
||||
margin-bottom: 1em
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
<ol .h-feed>
|
||||
$forall entry <- entries
|
||||
<li>^{hEntry entry}
|
||||
<div .h-feed>
|
||||
<span .p-name hidden>#{name}
|
||||
$maybe route <- mroute
|
||||
<a .u-url href=@{route} hidden>
|
||||
<ol .list-unstyled>
|
||||
$forall entry <- entries
|
||||
<li>^{hEntry entry}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue