mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 22:06:38 -04:00
stop using <section> improperly
This commit is contained in:
@ -39,7 +39,7 @@ main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
section.page {
|
div.layout {
|
||||||
max-width: $max-width;
|
max-width: $max-width;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
// Video Styles
|
// Video Styles
|
||||||
section#etc {
|
div#layout--etc {
|
||||||
padding-top: 1.5em;
|
padding-top: 1.5em;
|
||||||
padding-bottom: 1.5em;
|
padding-bottom: 1.5em;
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ section#etc {
|
|||||||
|
|
||||||
// Responsive
|
// Responsive
|
||||||
@mixin responsive--etc() {
|
@mixin responsive--etc() {
|
||||||
section#etc {
|
div#layout--etc {
|
||||||
padding: 1.25em 1.1em;
|
padding: 1.25em 1.1em;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
// Home Styles
|
// Home Styles
|
||||||
section#home {
|
div#layout--home {
|
||||||
font-size: 1.025em;
|
font-size: 1.025em;
|
||||||
padding-top: 1.5em;
|
padding-top: 1.5em;
|
||||||
padding-bottom: 0.75em;
|
padding-bottom: 0.75em;
|
||||||
@ -93,7 +93,7 @@ section#home {
|
|||||||
// Loop through $colors-home (see abstracts/_variables)
|
// Loop through $colors-home (see abstracts/_variables)
|
||||||
@each $id, $colors in $colors-home {
|
@each $id, $colors in $colors-home {
|
||||||
@each $theme, $color in $colors {
|
@each $theme, $color in $colors {
|
||||||
body.#{$theme} section#home a##{$id} {
|
body.#{$theme} div#layout--home a##{$id} {
|
||||||
color: $color;
|
color: $color;
|
||||||
background-image: underline-hack($color);
|
background-image: underline-hack($color);
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ section#home {
|
|||||||
|
|
||||||
// Responsive
|
// Responsive
|
||||||
@mixin responsive--home() {
|
@mixin responsive--home() {
|
||||||
section#home {
|
div#layout--home {
|
||||||
font-size: 0.975em;
|
font-size: 0.975em;
|
||||||
padding: 1.2em 1.2em 0.4em 1.2em;
|
padding: 1.2em 1.2em 0.4em 1.2em;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
// Archive/List Styles
|
// Archive/List Styles
|
||||||
section#list {
|
div#layout--list {
|
||||||
padding-top: 1.5em;
|
padding-top: 1.5em;
|
||||||
padding-bottom: 0.25em;
|
padding-bottom: 0.25em;
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ section#list {
|
|||||||
|
|
||||||
// Responsive
|
// Responsive
|
||||||
@mixin responsive--list() {
|
@mixin responsive--list() {
|
||||||
section#list {
|
div#layout--list {
|
||||||
padding: 1em 1em 0.25em 1em;
|
padding: 1em 1em 0.25em 1em;
|
||||||
|
|
||||||
section.year {
|
section.year {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
// Post Styles
|
// Post Styles
|
||||||
section#single {
|
div#layout--single {
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ section#single {
|
|||||||
|
|
||||||
// Responsive
|
// Responsive
|
||||||
@mixin responsive--single() {
|
@mixin responsive--single() {
|
||||||
section#single {
|
div#layout--single {
|
||||||
padding: 0.8em 1.1em;
|
padding: 0.8em 1.1em;
|
||||||
|
|
||||||
h1#title {
|
h1#title {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
// Video Styles
|
// Video Styles
|
||||||
section#video {
|
div#layout--video {
|
||||||
padding: 1.5em 0;
|
padding: 1.5em 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ section#video {
|
|||||||
|
|
||||||
// Responsive
|
// Responsive
|
||||||
@mixin responsive--videos() {
|
@mixin responsive--videos() {
|
||||||
section#video {
|
div#layout--video {
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -14,7 +14,9 @@ pygmentsCodeFencesGuessSyntax = false
|
|||||||
enableInlineShortcodes = true
|
enableInlineShortcodes = true
|
||||||
enableRobotsTXT = 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 :)
|
# don't worry, inserted manually :)
|
||||||
disableHugoGeneratorInject = true
|
disableHugoGeneratorInject = true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: "Jake Jarvis – Front-End Web Developer in Boston, MA"
|
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
|
type: home
|
||||||
sitemap:
|
sitemap:
|
||||||
changefreq: weekly
|
changefreq: weekly
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<head>
|
<head>
|
||||||
{{ partial "head/_head" . }}
|
{{ partial "head/_head" . }}
|
||||||
</head>
|
</head>
|
||||||
<body class="{{ .Page.Kind }} {{ .Site.Params.Theme.defaultTheme }}">
|
<body class="{{ .Site.Params.Theme.defaultTheme }}">
|
||||||
{{ partialCached "page/header" . }}
|
{{ partialCached "page/header" . }}
|
||||||
<main>
|
<main>
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="page" id="etc">
|
<div class="layout" id="layout--etc">
|
||||||
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="page" id="list">
|
<div class="layout" id="layout--list">
|
||||||
{{- with .Pages }}
|
{{- with .Pages }}
|
||||||
{{- range .GroupByDate "2006" }}
|
{{- range .GroupByDate "2006" }}
|
||||||
<section class="year">
|
<section class="year">
|
||||||
@ -17,5 +17,5 @@
|
|||||||
</section>
|
</section>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</section>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="page" id="single">
|
<div class="layout" id="layout--single">
|
||||||
<article>
|
<article>
|
||||||
<div id="meta">
|
<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 }}
|
<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 }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="page" id="video">
|
<div class="layout" id="layout--video">
|
||||||
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||||
|
|
||||||
<video
|
<video
|
||||||
@ -15,5 +15,5 @@
|
|||||||
</video>
|
</video>
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</section>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
{{- with .Scratch.Get "authorImage" }}
|
{{- with .Scratch.Get "authorImage" }}
|
||||||
<logo>{{ .Permalink }}</logo>
|
<logo>{{ .Permalink }}</logo>
|
||||||
{{- end }}
|
{{- 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" }}
|
{{- with .OutputFormats.Get "ATOM" }}
|
||||||
{{ printf `<link rel="self" type="%s" href="%s" />` .MediaType.Type .Permalink | safeHTML }}
|
{{ printf `<link rel="self" type="%s" href="%s" />` .MediaType.Type .Permalink | safeHTML }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="page" id="home">
|
<div class="layout" id="layout--home">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</section>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
<language>{{ . }}</language>{{ end }}{{ with .Site.Author.email }}
|
<language>{{ . }}</language>{{ end }}{{ with .Site.Author.email }}
|
||||||
<managingEditor>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</managingEditor>{{ 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 }}
|
<webMaster>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }}
|
||||||
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }}
|
<copyright>{{ . }}</copyright>{{ end }}
|
||||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}{{ with .Scratch.Get "authorImage" }}
|
<lastBuildDate>{{ .Site.LastChange.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ with .Scratch.Get "authorImage" }}
|
||||||
<image>
|
<image>
|
||||||
<url>{{ .Permalink }}</url>
|
<url>{{ .Permalink }}</url>
|
||||||
<title>{{ $.Site.Title }}</title>
|
<title>{{ $.Site.Title }}</title>
|
||||||
|
Reference in New Issue
Block a user