Add OpenGraph support
This commit is contained in:
parent
3bf1fc5f2a
commit
e51afb8b19
11
Gruntfile.js
11
Gruntfile.js
|
@ -13,10 +13,13 @@ module.exports = grunt => {
|
||||||
html: {
|
html: {
|
||||||
files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/", flatten: true}],
|
files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/", flatten: true}],
|
||||||
},
|
},
|
||||||
|
img: {
|
||||||
|
files: [{expand: true, cwd: "src/main/", src: "**/*.{jpg,png}", dest: "dist/", flatten: true}],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
focus: {
|
focus: {
|
||||||
dev: {
|
dev: {
|
||||||
include: ["css", "html", "ts"],
|
include: ["css", "html", "img", "ts"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
replace: {
|
replace: {
|
||||||
|
@ -50,6 +53,10 @@ module.exports = grunt => {
|
||||||
files: ["src/main/**/*.html"],
|
files: ["src/main/**/*.html"],
|
||||||
tasks: ["copy:html"],
|
tasks: ["copy:html"],
|
||||||
},
|
},
|
||||||
|
img: {
|
||||||
|
files: ["src/main/**/*.{jpg,png}"],
|
||||||
|
tasks: ["copy:img"],
|
||||||
|
},
|
||||||
ts: {
|
ts: {
|
||||||
files: ["src/main/**/*.ts"],
|
files: ["src/main/**/*.ts"],
|
||||||
tasks: ["webpack:dev", "replace:dev"],
|
tasks: ["webpack:dev", "replace:dev"],
|
||||||
|
@ -98,6 +105,7 @@ module.exports = grunt => {
|
||||||
// Copy files
|
// Copy files
|
||||||
"copy:css",
|
"copy:css",
|
||||||
"copy:html",
|
"copy:html",
|
||||||
|
"copy:img",
|
||||||
// Compile TS
|
// Compile TS
|
||||||
"webpack:dev",
|
"webpack:dev",
|
||||||
"replace:dev",
|
"replace:dev",
|
||||||
|
@ -109,6 +117,7 @@ module.exports = grunt => {
|
||||||
// Copy files
|
// Copy files
|
||||||
"copy:css",
|
"copy:css",
|
||||||
"copy:html",
|
"copy:html",
|
||||||
|
"copy:img",
|
||||||
// Compile TS
|
// Compile TS
|
||||||
"webpack:deploy",
|
"webpack:deploy",
|
||||||
"replace:deploy",
|
"replace:deploy",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "psychotherapy",
|
"name": "psychotherapy",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "Psychotherapy",
|
"description": "Recursively inductive progress",
|
||||||
"author": "F.W. Dekker",
|
"author": "F.W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 82 KiB |
|
@ -5,10 +5,17 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="author" content="F.W. Dekker" />
|
<meta name="author" content="F.W. Dekker" />
|
||||||
<meta name="application-name" content="Psychotherapy" />
|
<meta name="application-name" content="Psychotherapy" />
|
||||||
<meta name="description" content="Psychotherapy" />
|
<meta name="description" content="Recursively inductive progress" />
|
||||||
<meta name="theme-color" content="#0033cc" />
|
<meta name="theme-color" content="#0033cc" />
|
||||||
|
<meta name="og:description" content="Recursively inductive progress" />
|
||||||
|
<meta name="og:image" content="https://fwdekker.com/art/psychotherapy/og-image.png" />
|
||||||
|
<meta name="og:site_name" content="FWDekker" />
|
||||||
|
<meta name="og:title" content="Psychotherapy" />
|
||||||
|
<meta name="og:type" content="website" />
|
||||||
|
<meta name="og:url" content="https://fwdekker.com/art/psychotherapy/" />
|
||||||
|
|
||||||
<title>Psychotherapy | FWDekker</title>
|
<title>Psychotherapy | FWDekker</title>
|
||||||
|
|
||||||
<!--suppress HtmlUnknownTarget -->
|
<!--suppress HtmlUnknownTarget -->
|
||||||
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
|
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
|
||||||
<script async src="https://stats.fwdekker.com/count.js"
|
<script async src="https://stats.fwdekker.com/count.js"
|
||||||
|
|
Loading…
Reference in New Issue