rename description to desc
This commit is contained in:
parent
49eff9c009
commit
87c3fa5b75
7 changed files with 38 additions and 38 deletions
|
@ -51,8 +51,8 @@ make' (IndexInfo {title, galleries, links, footer}) = [b|@0
|
|||
|]
|
||||
|
||||
makeItem :: GalleryInfo -> Builder
|
||||
makeItem (GalleryInfo {title, description, prefix, filters}) = [b|@4
|
||||
<li$nsfw><a href=$@prefix title="$*description">$*title</a></li>
|
||||
makeItem (GalleryInfo {title, desc, prefix, filters}) = [b|@4
|
||||
<li$nsfw><a href=$@prefix title="$*desc">$*title</a></li>
|
||||
|]
|
||||
where nsfw = if hasNsfw filters then " class=nsfw" else ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue