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

View file

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

View file

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

View file

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