mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 16:05:33 -04:00
allow comments to be disabled on individual posts
This commit is contained in:
@@ -39,6 +39,7 @@ footer {
|
|||||||
|
|
||||||
a#source {
|
a#source {
|
||||||
border-bottom: 1px solid $color-light;
|
border-bottom: 1px solid $color-light;
|
||||||
|
padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -30,6 +30,7 @@ a {
|
|||||||
|
|
||||||
&.no-underline {
|
&.no-underline {
|
||||||
background: none !important;
|
background: none !important;
|
||||||
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ header {
|
|||||||
|
|
||||||
nav {
|
nav {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0.25em 0.75em;
|
padding: 0.25em 1.75em;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -17,7 +17,6 @@ header {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: $color-medium-dark;
|
color: $color-medium-dark;
|
||||||
padding: 15px;
|
|
||||||
|
|
||||||
h1#name {
|
h1#name {
|
||||||
margin: 0 0 0 0.8em;
|
margin: 0 0 0 0.8em;
|
||||||
@@ -56,11 +55,9 @@ header {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
padding: 0;
|
|
||||||
margin-right: 16px;
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
width: 2.6em;
|
width: 2.5em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -80,11 +77,9 @@ header {
|
|||||||
// Responsive
|
// Responsive
|
||||||
@mixin responsive--header() {
|
@mixin responsive--header() {
|
||||||
header nav {
|
header nav {
|
||||||
padding: 0.4em 1em;
|
padding: 0.1em 1.25em;
|
||||||
|
|
||||||
a#logo {
|
a#logo {
|
||||||
padding: 10px;
|
|
||||||
|
|
||||||
img,
|
img,
|
||||||
svg {
|
svg {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
@@ -97,11 +92,10 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
font-size: 1.75em;
|
font-size: 1.7em;
|
||||||
margin-right: 10px;
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
width: 55px;
|
width: 2em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -11,6 +11,7 @@ image: "9e58a-1bvweqv_ve2_c1tw5-ihrhw.jpg"
|
|||||||
aliases:
|
aliases:
|
||||||
- /2016/02/28/millenial-with-hillary-clinton/
|
- /2016/02/28/millenial-with-hillary-clinton/
|
||||||
draft: false
|
draft: false
|
||||||
|
comments: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@@ -12,6 +12,7 @@ image: "1_b41ztscbaxqi60snwsswfw.jpg"
|
|||||||
aliases:
|
aliases:
|
||||||
- /2013/11/21/no-homo-still-raps-motto/
|
- /2013/11/21/no-homo-still-raps-motto/
|
||||||
draft: false
|
draft: false
|
||||||
|
comments: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if eq hugo.Environment "production" }}
|
{{ if and (ne .Params.comments false) (eq hugo.Environment "production") }}
|
||||||
<div id="comments">
|
<div id="comments">
|
||||||
{{ partial "scripts/utterances" . }}
|
{{ partial "scripts/utterances" . }}
|
||||||
</div>
|
</div>
|
||||||
|
18
yarn.lock
18
yarn.lock
@@ -814,9 +814,9 @@
|
|||||||
integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=
|
integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "13.9.1"
|
version "13.9.2"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.1.tgz#96f606f8cd67fb018847d9b61e93997dabdefc72"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.2.tgz#ace1880c03594cc3e80206d96847157d8e7fa349"
|
||||||
integrity sha512-E6M6N0blf/jiZx8Q3nb0vNaswQeEyn0XlupO+xN6DtJ6r6IT4nXrTry7zhIfYvFCl3/8Cu6WIysmUBKiqV0bqQ==
|
integrity sha512-bnoqK579sAYrQbp73wwglccjJ4sfRdKU7WNEZ5FW4K2U6Kc0/eZ5kvXG0JKsEKFB50zrFmfFt52/cvBbZa7eXg==
|
||||||
|
|
||||||
"@types/normalize-package-data@^2.4.0":
|
"@types/normalize-package-data@^2.4.0":
|
||||||
version "2.4.0"
|
version "2.4.0"
|
||||||
@@ -2072,9 +2072,9 @@ duplexer3@^0.1.4:
|
|||||||
integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=
|
integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=
|
||||||
|
|
||||||
electron-to-chromium@^1.3.363:
|
electron-to-chromium@^1.3.363:
|
||||||
version "1.3.377"
|
version "1.3.378"
|
||||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.377.tgz#b49d420b36ee6c48b0cd3137bfc7fec75f369b2e"
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.378.tgz#18c572cbb54bf5b2769855597cdc7511c02b481f"
|
||||||
integrity sha512-cm2WzMKf/3dW5+hNANKm8GAW6SwIWOqLTJ6GPCD0Bbw1qJ9Wzm9nmx9M+byzSsgw8CdCv5fb/wzLFqVS5h6QrA==
|
integrity sha512-nBp/AfhaVIOnfwgL1CZxt80IcqWcyYXiX6v5gflAksxy+SzBVz7A7UWR1Nos92c9ofXW74V9PoapzRb0jJfYXw==
|
||||||
|
|
||||||
elegant-spinner@^1.0.1:
|
elegant-spinner@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
@@ -5358,9 +5358,9 @@ regenerator-runtime@^0.13.4:
|
|||||||
integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==
|
integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==
|
||||||
|
|
||||||
regenerator-transform@^0.14.2:
|
regenerator-transform@^0.14.2:
|
||||||
version "0.14.3"
|
version "0.14.4"
|
||||||
resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.3.tgz#54aebff2ef58c0ae61e695ad1b9a9d65995fff78"
|
resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.4.tgz#5266857896518d1616a78a0479337a30ea974cc7"
|
||||||
integrity sha512-zXHNKJspmONxBViAb3ZUmFoFPnTBs3zFhCEZJiwp/gkNzxVbTqNJVjYKx6Qk1tQ1P4XLf4TbH9+KBB7wGoAaUw==
|
integrity sha512-EaJaKPBI9GvKpvUz2mz4fhx7WPgvwRLY9v3hlNHWmAuJHI13T4nwKnNvm5RWJzEdnI5g5UwtOww+S8IdoUC2bw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.8.4"
|
"@babel/runtime" "^7.8.4"
|
||||||
private "^0.1.8"
|
private "^0.1.8"
|
||||||
|
Reference in New Issue
Block a user