mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
fix markup errors
This commit is contained in:
parent
7ace92c651
commit
0b0a5b1b42
4 changed files with 5 additions and 6 deletions
|
@ -12,12 +12,12 @@
|
|||
' Issues? Want to chat?
|
||||
a href="/pages/contact" Contact us!
|
||||
.block.hide-mobile
|
||||
a.block__header--single-item.center href="/search?q=first_seen_at.gt:3 days ago&sf=score&sd=desc"
|
||||
a.block__header--single-item.center href="/search?q=first_seen_at.gt:3 days ago&sf=score&sd=desc"
|
||||
' Trending Images
|
||||
.block__content.flex.flex--centered.flex--wrap.image-flex-grid
|
||||
= for image <- @top_scoring do
|
||||
= render PhilomenaWeb.ImageView, "_image_box.html", image: image, size: :thumb_small, conn: @conn
|
||||
a.block__header--single-item.center href="/search?q=*&sf=score&sd=desc"
|
||||
a.block__header--single-item.center href="/search?q=*&sf=score&sd=desc"
|
||||
' All Time Top Scoring
|
||||
.block.hide-mobile
|
||||
a.block__header--single-item.center href="/channels"
|
||||
|
@ -34,7 +34,7 @@
|
|||
' Recent Comments
|
||||
= for comment <- @comments do
|
||||
= render PhilomenaWeb.ActivityView, "_comment_strip.html", comment: comment, conn: @conn
|
||||
a.block__header--single-item.center href="/search?q=first_seen_at.gt:3 days ago&sf=comment_count&sd=desc"
|
||||
a.block__header--single-item.center href="/search?q=first_seen_at.gt:3 days ago&sf=comment_count&sd=desc"
|
||||
' Most Commented-on Images
|
||||
|
||||
.column-layout__main
|
||||
|
|
|
@ -11,7 +11,7 @@ nav#burger
|
|||
a href="/tags"
|
||||
i.fa.fa-fw.fa-tag<>
|
||||
' Tags
|
||||
a href="/search?q=first_seen_at.gt:3 days ago&sf=score&sd=desc"
|
||||
a href="/search?q=first_seen_at.gt:3 days ago&sf=score&sd=desc"
|
||||
i.fas.fa-fw.fa-poll<>
|
||||
' Rankings
|
||||
a href="/filters"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
doctype html
|
||||
html lang="en"
|
||||
head
|
||||
meta charset="utf-8"
|
||||
meta http-equiv="X-UA-Compatible" content="IE=edge"
|
||||
= viewport_meta_tag(@conn)
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ defmodule PhilomenaWeb.LayoutView do
|
|||
|
||||
data = Keyword.merge(data, extra)
|
||||
|
||||
tag(:div, class: "js-datastore", data: data)
|
||||
content_tag(:div, "", class: "js-datastore", data: data)
|
||||
end
|
||||
|
||||
def footer_data do
|
||||
|
|
Loading…
Reference in a new issue