fix markup errors

This commit is contained in:
byte[] 2020-03-30 20:12:25 -04:00
parent 7ace92c651
commit 0b0a5b1b42
4 changed files with 5 additions and 6 deletions

View file

@ -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=*&amp;sf=score&amp;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&amp;sf=comment_count&amp;sd=desc"
' Most Commented-on Images ' Most Commented-on Images
.column-layout__main .column-layout__main

View file

@ -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&amp;sf=score&amp;sd=desc"
i.fas.fa-fw.fa-poll<> i.fas.fa-fw.fa-poll<>
' Rankings ' Rankings
a href="/filters" a href="/filters"

View file

@ -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)

View file

@ -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