Commit c65e13a7 authored by John Breen's avatar John Breen
Browse files

Clean up meta descriptions

parent 583fd86f
{
"name": "victor-hugo",
"version": "1.0.0",
"description": "Victor Hugo is a Hugo boilerplate for creating truly epic websites!",
"repository": "netlify/victor-hugo",
"description": "Breen's blog",
"repository": "https://git.breen.tech/john/breen-blog",
"main": "index.js",
"scripts": {
"lint": "eslint src",
......@@ -66,4 +66,4 @@
"webpack-dev-server": "^3.1.10",
"webpack-merge": "^4.1.4"
}
}
}
\ No newline at end of file
baseurl = "/"
languageCode = "en-us"
languageLang = "en"
title = "Homepage"
title = "breen.tech"
# RSS, categories and tags disabled for an easy start
# See configuration options for more details:
......
---
title: "John Breen"
subtitle: Developer
description: "Welcome to my website"
image: /img/me-jumbotron.v1.jpg
blurb:
heading: Who am I?
......
---
title: "Contact"
description: "Contact me"
logo: "/img/logo.svg"
contact_entries:
- heading: Email
......
---
title: Latest posts
description: My blog
image: /img/me-jumbotron.v1.jpg
---
---
title: "tech"
Description: "The tech that I use!"
date: 2018-11-14T19:02:50-07:00
draft: false
---
......
{{ define "main" }}
{{ partial "jumbotron" (dict "imageUrl" "/img/me-jumbotron.v1.jpg" "title" "Latest stories") }}
{{ partial "jumbotron" (dict "imageUrl" .Params.image "title" .Title) }}
<div class="mw7 center">
<ul class="flex-ns flex-wrap mhn1-ns pa3">
......
......@@ -12,7 +12,7 @@
</div>
<div class="tc">
<a href="/post" class="btn raise">Read more</a>
<a href="/post" class="btn raise">All Posts</a>
</div>
</div>
......
......@@ -9,7 +9,9 @@
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
{{$description := or .Description "SEO is hard"}}
<meta name="Description" content="{{$description}}">
<base href="{{ if getenv "CONTEXT" }}{{ cond (eq "production" (getenv "CONTEXT")) (getenv "URL") (getenv "DEPLOY_PRIME_URL") }}{{ else }}{{ $.Site.BaseURL }}{{ end }}">
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,700" rel="stylesheet">
......
......@@ -8,7 +8,6 @@ html,
body,
div,
article,
section,
main,
footer,
header,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment