mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 09:18:28 -04:00
stop using <section> improperly
This commit is contained in:
parent
cb7219f790
commit
12b056f70b
@ -39,7 +39,7 @@ main {
|
||||
}
|
||||
}
|
||||
|
||||
section.page {
|
||||
div.layout {
|
||||
max-width: $max-width;
|
||||
margin: 0 auto;
|
||||
padding-left: 1.5em;
|
||||
|
@ -1,7 +1,7 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Video Styles
|
||||
section#etc {
|
||||
div#layout--etc {
|
||||
padding-top: 1.5em;
|
||||
padding-bottom: 1.5em;
|
||||
|
||||
@ -18,7 +18,7 @@ section#etc {
|
||||
|
||||
// Responsive
|
||||
@mixin responsive--etc() {
|
||||
section#etc {
|
||||
div#layout--etc {
|
||||
padding: 1.25em 1.1em;
|
||||
|
||||
h1 {
|
||||
|
@ -1,7 +1,7 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Home Styles
|
||||
section#home {
|
||||
div#layout--home {
|
||||
font-size: 1.025em;
|
||||
padding-top: 1.5em;
|
||||
padding-bottom: 0.75em;
|
||||
@ -93,7 +93,7 @@ section#home {
|
||||
// Loop through $colors-home (see abstracts/_variables)
|
||||
@each $id, $colors in $colors-home {
|
||||
@each $theme, $color in $colors {
|
||||
body.#{$theme} section#home a##{$id} {
|
||||
body.#{$theme} div#layout--home a##{$id} {
|
||||
color: $color;
|
||||
background-image: underline-hack($color);
|
||||
}
|
||||
@ -102,7 +102,7 @@ section#home {
|
||||
|
||||
// Responsive
|
||||
@mixin responsive--home() {
|
||||
section#home {
|
||||
div#layout--home {
|
||||
font-size: 0.975em;
|
||||
padding: 1.2em 1.2em 0.4em 1.2em;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Archive/List Styles
|
||||
section#list {
|
||||
div#layout--list {
|
||||
padding-top: 1.5em;
|
||||
padding-bottom: 0.25em;
|
||||
|
||||
@ -46,7 +46,7 @@ section#list {
|
||||
|
||||
// Responsive
|
||||
@mixin responsive--list() {
|
||||
section#list {
|
||||
div#layout--list {
|
||||
padding: 1em 1em 0.25em 1em;
|
||||
|
||||
section.year {
|
||||
|
@ -1,7 +1,7 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Post Styles
|
||||
section#single {
|
||||
div#layout--single {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
|
||||
@ -41,7 +41,7 @@ section#single {
|
||||
|
||||
// Responsive
|
||||
@mixin responsive--single() {
|
||||
section#single {
|
||||
div#layout--single {
|
||||
padding: 0.8em 1.1em;
|
||||
|
||||
h1#title {
|
||||
|
@ -1,7 +1,7 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// Video Styles
|
||||
section#video {
|
||||
div#layout--video {
|
||||
padding: 1.5em 0;
|
||||
text-align: center;
|
||||
|
||||
@ -39,7 +39,7 @@ section#video {
|
||||
|
||||
// Responsive
|
||||
@mixin responsive--videos() {
|
||||
section#video {
|
||||
div#layout--video {
|
||||
padding: 1em 0;
|
||||
|
||||
h1 {
|
||||
|
@ -14,7 +14,9 @@ pygmentsCodeFencesGuessSyntax = false
|
||||
enableInlineShortcodes = true
|
||||
enableRobotsTXT = true
|
||||
|
||||
disableKinds = ["taxonomy", "taxonomyTerm"]
|
||||
# as of v0.73.0: taxonomy => term, taxonomyTerm => taxonomy
|
||||
# https://github.com/gohugoio/hugo/releases/tag/v0.73.0
|
||||
disableKinds = ["taxonomy", "term"]
|
||||
|
||||
# don't worry, inserted manually :)
|
||||
disableHugoGeneratorInject = true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Jake Jarvis – Front-End Web Developer in Boston, MA"
|
||||
date: 2020-07-07 09:59:03-0400
|
||||
date: 2020-07-14 08:40:46-0400
|
||||
type: home
|
||||
sitemap:
|
||||
changefreq: weekly
|
||||
|
@ -6,7 +6,7 @@
|
||||
<head>
|
||||
{{ partial "head/_head" . }}
|
||||
</head>
|
||||
<body class="{{ .Page.Kind }} {{ .Site.Params.Theme.defaultTheme }}">
|
||||
<body class="{{ .Site.Params.Theme.defaultTheme }}">
|
||||
{{ partialCached "page/header" . }}
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
|
@ -1,9 +1,9 @@
|
||||
{{ define "main" }}
|
||||
<section class="page" id="etc">
|
||||
<div class="layout" id="layout--etc">
|
||||
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="page" id="list">
|
||||
<div class="layout" id="layout--list">
|
||||
{{- with .Pages }}
|
||||
{{- range .GroupByDate "2006" }}
|
||||
<section class="year">
|
||||
@ -17,5 +17,5 @@
|
||||
</section>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="page" id="single">
|
||||
<div class="layout" id="layout--single">
|
||||
<article>
|
||||
<div id="meta">
|
||||
<a class="no-underline" href="{{ .Permalink }}" title="{{ .Date.Format "Mon, Jan 2 2006 3:04:05 PM MST" }}">{{ .Date.Format "January 2, 2006" }}</a>{{ with .Scratch.Get "sourceURL" }}<span class="dash">—</span><a class="no-underline" href="{{ . | safeURL }}" title="Edit this post on GitHub" target="_blank" rel="noopener">Improve This Post</a>{{ end }}
|
||||
@ -11,5 +11,5 @@
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="page" id="video">
|
||||
<div class="layout" id="layout--video">
|
||||
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
|
||||
<video
|
||||
@ -15,5 +15,5 @@
|
||||
</video>
|
||||
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -14,7 +14,7 @@
|
||||
{{- with .Scratch.Get "authorImage" }}
|
||||
<logo>{{ .Permalink }}</logo>
|
||||
{{- end }}
|
||||
<updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
|
||||
<updated>{{ .Site.LastChange.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
|
||||
{{- with .OutputFormats.Get "ATOM" }}
|
||||
{{ printf `<link rel="self" type="%s" href="%s" />` .MediaType.Type .Permalink | safeHTML }}
|
||||
{{- end }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="page" id="home">
|
||||
<div class="layout" id="layout--home">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -8,8 +8,8 @@
|
||||
<language>{{ . }}</language>{{ end }}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with .Site.Author.email }}
|
||||
<webMaster>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }}
|
||||
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}{{ with .Scratch.Get "authorImage" }}
|
||||
<copyright>{{ . }}</copyright>{{ end }}
|
||||
<lastBuildDate>{{ .Site.LastChange.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ with .Scratch.Get "authorImage" }}
|
||||
<image>
|
||||
<url>{{ .Permalink }}</url>
|
||||
<title>{{ $.Site.Title }}</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user