mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +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?
|
' Issues? Want to chat?
|
||||||
a href="/pages/contact" Contact us!
|
a href="/pages/contact" Contact us!
|
||||||
.block.hide-mobile
|
.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
|
' Trending Images
|
||||||
.block__content.flex.flex--centered.flex--wrap.image-flex-grid
|
.block__content.flex.flex--centered.flex--wrap.image-flex-grid
|
||||||
= for image <- @top_scoring do
|
= for image <- @top_scoring do
|
||||||
= render PhilomenaWeb.ImageView, "_image_box.html", image: image, size: :thumb_small, conn: @conn
|
= 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
|
' All Time Top Scoring
|
||||||
.block.hide-mobile
|
.block.hide-mobile
|
||||||
a.block__header--single-item.center href="/channels"
|
a.block__header--single-item.center href="/channels"
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
' Recent Comments
|
' Recent Comments
|
||||||
= for comment <- @comments do
|
= for comment <- @comments do
|
||||||
= render PhilomenaWeb.ActivityView, "_comment_strip.html", comment: comment, conn: @conn
|
= 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
|
' Most Commented-on Images
|
||||||
|
|
||||||
.column-layout__main
|
.column-layout__main
|
||||||
|
|
|
@ -11,7 +11,7 @@ nav#burger
|
||||||
a href="/tags"
|
a href="/tags"
|
||||||
i.fa.fa-fw.fa-tag<>
|
i.fa.fa-fw.fa-tag<>
|
||||||
' Tags
|
' 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<>
|
i.fas.fa-fw.fa-poll<>
|
||||||
' Rankings
|
' Rankings
|
||||||
a href="/filters"
|
a href="/filters"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
doctype html
|
doctype html
|
||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
meta charset="utf-8"
|
|
||||||
meta http-equiv="X-UA-Compatible" content="IE=edge"
|
meta http-equiv="X-UA-Compatible" content="IE=edge"
|
||||||
= viewport_meta_tag(@conn)
|
= viewport_meta_tag(@conn)
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ defmodule PhilomenaWeb.LayoutView do
|
||||||
|
|
||||||
data = Keyword.merge(data, extra)
|
data = Keyword.merge(data, extra)
|
||||||
|
|
||||||
tag(:div, class: "js-datastore", data: data)
|
content_tag(:div, "", class: "js-datastore", data: data)
|
||||||
end
|
end
|
||||||
|
|
||||||
def footer_data do
|
def footer_data do
|
||||||
|
|
Loading…
Reference in a new issue