1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 07:01:19 -04:00

bump both hugo and node-alpine versions for CLI auto firebase deploy

This commit is contained in:
2018-08-04 21:59:24 -04:00
parent 8ad155d376
commit 04c49a8756
7 changed files with 23 additions and 12 deletions

View File

@@ -2,8 +2,8 @@ image: node:alpine
before_script: before_script:
- apk update && apk add openssl - apk update && apk add openssl
- wget https://github.com/gohugoio/hugo/releases/download/v0.40.3/hugo_0.40.3_Linux-64bit.tar.gz - wget https://github.com/gohugoio/hugo/releases/download/v0.46/hugo_0.46_Linux-64bit.tar.gz
- tar xf hugo_0.40.3_Linux-64bit.tar.gz && cp ./hugo /usr/bin - tar xf hugo_0.46_Linux-64bit.tar.gz && cp ./hugo /usr/bin
- npm install --quiet firebase-tools -g - npm install --quiet firebase-tools -g
deploy: deploy:

View File

@@ -2,6 +2,8 @@ baseURL = "https://jarv.is/"
languageCode = "en-us" languageCode = "en-us"
title = "Jake Jarvis" title = "Jake Jarvis"
disableHugoGeneratorInject = true
disableKinds = ["taxonomy", "taxonomyTerm", "sitemap", "RSS"] disableKinds = ["taxonomy", "taxonomyTerm", "sitemap", "RSS"]
[taxonomies] [taxonomies]

View File

@@ -1,5 +1,5 @@
{{ define "main" }} {{ define "main" }}
<div id="container"> <div id="home">
<img id="me" src="{{ "me.jpg" | relURL }}" alt="Jake Jarvis" title="Jake Jarvis"> <img id="me" src="{{ "me.jpg" | relURL }}" alt="Jake Jarvis" title="Jake Jarvis">
<h1>Hello! I'm Jake. <span id="wave">&#x1F44B;<!--&#x1F3FB;--></span></h1> <h1>Hello! I'm Jake. <span id="wave">&#x1F44B;<!--&#x1F3FB;--></span></h1>
<h2>I'm a web and mobile developer based in <a href="https://www.urbandictionary.com/define.php?term=Boston" id="boston" target="_blank" rel="noopener noreferrer nofollow">Boston</a>.</h2> <h2>I'm a web and mobile developer based in <a href="https://www.urbandictionary.com/define.php?term=Boston" id="boston" target="_blank" rel="noopener noreferrer nofollow">Boston</a>.</h2>

View File

@@ -0,0 +1,4 @@
{{ partial "header.html" . }}
{{ block "main" . }}{{ end }}
bananan
{{ partial "footer.html" . }}

3
layouts/notes/list.html Normal file
View File

@@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}asdf
{{ end }}

View File

@@ -3,14 +3,16 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
{{ .Hugo.Generator }}
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<meta name="description" content="{{ .Description }}"> <meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta property="og:title" content="{{ .Title }}"> <meta property="og:title" content="{{ .Title }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:url" content="{{ .Permalink }}"> <meta property="og:url" content="{{ .Permalink }}">
<meta property="og:description" content="{{ .Description }}"> <meta property="og:description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta property="og:image" content="{{ "me.jpg" | absURL }}"> <meta property="og:image" content="{{ "me.jpg" | absURL }}">
<meta property="fb:admins" content="1329090853"> <meta property="fb:admins" content="1329090853">
<meta property="twitter:account_id" content="229769022"> <meta property="twitter:account_id" content="229769022">
@@ -18,7 +20,7 @@
<meta name="twitter:creator" content="@jakejarvis"> <meta name="twitter:creator" content="@jakejarvis">
<meta name="twitter:title" content="{{ .Title }}"> <meta name="twitter:title" content="{{ .Title }}">
<meta name="twitter:url" content="{{ .Permalink }}"> <meta name="twitter:url" content="{{ .Permalink }}">
<meta name="twitter:description" content="{{ .Description }}"> <meta name="twitter:description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta name="twitter:image" content="{{ "me.jpg" | absURL }}"> <meta name="twitter:image" content="{{ "me.jpg" | absURL }}">
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">
<link rel="icon" type="image/png" href="{{ "favicon-128.png" | relURL }}" sizes="128x128"> <link rel="icon" type="image/png" href="{{ "favicon-128.png" | relURL }}" sizes="128x128">

View File

@@ -206,7 +206,7 @@ body {
line-height: 1.5; line-height: 1.5;
} }
div#container { div#home {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
width: 100%; width: 100%;
@@ -233,22 +233,22 @@ a {
-o-transition: border-color 0.2s linear; -o-transition: border-color 0.2s linear;
} }
h1 { div#home h1 {
margin: 0 0 20px 0; margin: 0 0 20px 0;
font-size: 150%; font-size: 150%;
line-height: 1; line-height: 1;
} }
h2 { div#home h2 {
margin: 20px 0; margin: 20px 0;
font-size: 120%; font-size: 120%;
} }
p { div#home p {
margin: 20px 0; margin: 20px 0;
} }
sup { div#home sup {
vertical-align: middle; vertical-align: middle;
font-size: 50%; font-size: 50%;
} }
@@ -258,7 +258,7 @@ sup {
font-size: 18px; font-size: 18px;
} }
img#me { div#home img#me {
width: 80px; width: 80px;
height: 80px; height: 80px;
} }