1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 16:05:33 -04:00

small fix to spacing on responsive list pages

and make CI & Netlify use a newest version of Go (required for modules)
This commit is contained in:
2020-04-03 17:09:46 -04:00
parent e607a0c75d
commit 236ee5b0af
9 changed files with 21 additions and 12 deletions

View File

@@ -5,8 +5,12 @@ update_configs:
update_schedule: "live" update_schedule: "live"
default_labels: default_labels:
- "dependencies" - "dependencies"
- package_manager: "docker" default_reviewers:
- "jakejarvis"
- package_manager: "go:modules"
directory: "/" directory: "/"
update_schedule: "weekly" update_schedule: "daily"
default_labels: default_labels:
- "dependencies" - "dependencies"
default_reviewers:
- "jakejarvis"

View File

@@ -63,6 +63,9 @@ jobs:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '12.x' node-version: '12.x'
- uses: actions/setup-go@v2-beta
with:
go-version: '1.14.x'
# https://github.com/actions/cache/blob/master/examples.md#node---yarn # https://github.com/actions/cache/blob/master/examples.md#node---yarn
# https://github.com/actions/cache/issues/60 # https://github.com/actions/cache/issues/60
- name: Get yarn cache location - name: Get yarn cache location

View File

@@ -6,15 +6,14 @@
"assert": { "assert": {
"preset": "lighthouse:no-pwa", "preset": "lighthouse:no-pwa",
"assertions": { "assertions": {
"color-contrast": ["warn", {"minScore": 0.9}],
"errors-in-console": "warn", "errors-in-console": "warn",
"frame-title": "warn",
"link-text": "warn", "link-text": "warn",
"offscreen-images": "warn",
"tap-targets": ["warn", {"minScore": 0.6}],
"total-byte-weight": ["warn", {"minScore": 0.9}], "total-byte-weight": ["warn", {"minScore": 0.9}],
"unused-css-rules": "warn", "unused-css-rules": "warn",
"uses-rel-preconnect": "warn", "uses-rel-preconnect": "warn",
"is-crawlable": "off", "is-crawlable": "off",
"offscreen-images": "off",
"redirects-http": "off", "redirects-http": "off",
"uses-http2": "off", "uses-http2": "off",
"uses-long-cache-ttl": "off", "uses-long-cache-ttl": "off",

View File

@@ -9,7 +9,7 @@
Personal website of [@jakejarvis](https://github.com/jakejarvis), created and deployed using the following: Personal website of [@jakejarvis](https://github.com/jakejarvis), created and deployed using the following:
- [Hugo extended](https://github.com/gohugoio/hugo) - [Hugo Extended](https://github.com/gohugoio/hugo)
- [Netlify](https://www.netlify.com/) - [Netlify](https://www.netlify.com/)
- [Simple Analytics](https://referral.simpleanalytics.com/jake-jarvis) (referral link) - [Simple Analytics](https://referral.simpleanalytics.com/jake-jarvis) (referral link)
- [utteranc.es](https://utteranc.es/) - [utteranc.es](https://utteranc.es/)
@@ -22,7 +22,7 @@ I keep an ongoing list of [blog post ideas](https://github.com/jakejarvis/jarv.i
#### Using Yarn/NPM: #### Using Yarn/NPM:
Run `yarn install` ([Yarn must be installed](https://yarnpkg.com/en/docs/install) first, or use `npm install`) and `yarn start` (or `npm start`), then open [http://localhost:1337/](http://localhost:1337/). Pages will live-refresh when source files are changed. Run `yarn install` ([Yarn must be installed](https://yarnpkg.com/en/docs/install) first, or use `npm install` if you insist) and `yarn start` (or `npm start`), then open [http://localhost:1337/](http://localhost:1337/). Pages will live-refresh when source files are changed.
#### Using Docker: #### Using Docker:
@@ -33,7 +33,7 @@ docker build -t jarv.is -f Dockerfile .
docker run -v $(pwd):/src -p 1337:1337 jarv.is docker run -v $(pwd):/src -p 1337:1337 jarv.is
``` ```
...then open [http://localhost:1337/](http://localhost:1337/) as above. ...then open [http://localhost:1337/](http://localhost:1337/).
## Licenses ## Licenses

View File

@@ -24,6 +24,7 @@ main#list {
li { li {
display: flex; display: flex;
letter-spacing: -0.011em; letter-spacing: -0.011em;
line-height: 1.75;
div.date { div.date {
color: $color-medium; color: $color-medium;
@@ -32,7 +33,7 @@ main#list {
} }
+ li { + li {
margin-top: 1.3em; margin-top: 1em;
} }
&:last-child { &:last-child {

View File

@@ -26,7 +26,7 @@ main#single {
margin-top: 0.3em; margin-top: 0.3em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
font-size: 2.2em; font-size: 2.2em;
line-height: 1.25; line-height: 1.3;
font-weight: 700; font-weight: 700;
a { a {
@@ -52,6 +52,7 @@ main#single {
padding: 0.8em 1.1em; padding: 0.8em 1.1em;
h1#title { h1#title {
margin-top: 0.5em;
font-size: 1.8em; font-size: 1.8em;
} }

View File

@@ -102,7 +102,7 @@
p.meta { p.meta {
text-align: center; text-align: center;
margin: 0.25em; margin: 0.25em;
color: #777777; color: #757575;
} }
p.meta a { p.meta a {
text-decoration: none; text-decoration: none;

View File

@@ -6,6 +6,7 @@
NODE_VERSION = "12.16.1" NODE_VERSION = "12.16.1"
YARN_VERSION = "1.22.4" YARN_VERSION = "1.22.4"
YARN_FLAGS = "--no-ignore-optional --frozen-lockfile" YARN_FLAGS = "--no-ignore-optional --frozen-lockfile"
GO_VERSION = "1.14.1"
# Ensure *only* Pretty URLs are enabled, even though this is already set up in # Ensure *only* Pretty URLs are enabled, even though this is already set up in
# the Netlify dashboard. # the Netlify dashboard.

View File

@@ -19,7 +19,7 @@
"build:preview": "run-s clean hugo:dev", "build:preview": "run-s clean hugo:dev",
"hugo": "hugo --gc --cleanDestinationDir --verbose", "hugo": "hugo --gc --cleanDestinationDir --verbose",
"hugo:dev": "hugo --environment development --baseURL \"${DEPLOY_PRIME_URL:-/}\" --buildDrafts --buildFuture --gc --cleanDestinationDir --verbose", "hugo:dev": "hugo --environment development --baseURL \"${DEPLOY_PRIME_URL:-/}\" --buildDrafts --buildFuture --gc --cleanDestinationDir --verbose",
"start": "hugo server --buildDrafts --buildFuture --port 1337 --bind 0.0.0.0 --verbose", "start": "hugo server --disableFastRender --buildDrafts --buildFuture --port 1337 --bind 0.0.0.0 --verbose",
"optimize": "run-s optimize:**", "optimize": "run-s optimize:**",
"optimize:emoji": "rimraf public/twemoji/{*.html,72x72}", "optimize:emoji": "rimraf public/twemoji/{*.html,72x72}",
"optimize:html": "html-minifier --html5 --collapse-whitespace --collapse-boolean-attributes --preserve-line-breaks --minify-css --file-ext html --input-dir public --output-dir public **/*.html", "optimize:html": "html-minifier --html5 --collapse-whitespace --collapse-boolean-attributes --preserve-line-breaks --minify-css --file-ext html --input-dir public --output-dir public **/*.html",