diff --git a/exampleSite/content/posts/lorem-ipsum.md b/exampleSite/content/posts/lorem-ipsum.md index d98295f..ad84ec6 100644 --- a/exampleSite/content/posts/lorem-ipsum.md +++ b/exampleSite/content/posts/lorem-ipsum.md @@ -3,6 +3,7 @@ title: "Lorem Ipsum" date: 2021-04-15T23:39:49+05:30 tags: ["xyz", "def"] type: "post" +image: "/images/lorem-ipsum/quick-fox.png" --- # Heading 1 diff --git a/exampleSite/static/images/lorem-ipsum/quick-fox.png b/exampleSite/static/images/lorem-ipsum/quick-fox.png new file mode 100644 index 0000000..13f8edf Binary files /dev/null and b/exampleSite/static/images/lorem-ipsum/quick-fox.png differ diff --git a/themes/gokarna/layouts/partials/head.html b/themes/gokarna/layouts/partials/head.html index dbcc121..6ee4370 100644 --- a/themes/gokarna/layouts/partials/head.html +++ b/themes/gokarna/layouts/partials/head.html @@ -8,9 +8,26 @@ } + {{ $title := .Title | default .Site.Title }} + {{ $description := .Description | default .Site.Params.Description }} + {{ $image := .Params.image | default .Site.Params.AvatarURL }} + - {{ .Title | default .Site.Title }} - + {{ $title }} + + + + + + + + + + + + + +