Skip to content

Commit

Permalink
Enhance SEO of the website
Browse files Browse the repository at this point in the history
  • Loading branch information
Masood Azizi committed Jan 9, 2025
1 parent 3536540 commit 4f412d5
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
3 changes: 3 additions & 0 deletions content/posts/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
date = '2025-01-08T17:04:09+01:00'
draft = false
title = 'Welcome to My Blog'
description: "Introduction to Masood's Digital Space and its purpose."
tags: ["cloud", "tech", "blog"]
categories: ["blog"]
image = "/images/welcome.jpg"
+++

Expand Down
20 changes: 15 additions & 5 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
baseURL = 'https://masoodazizi.com/'
languageCode = 'en-us'
title = "Masood's Digital Space"
description = "A blog about cloud architecture, DevOps, and more."
author = "Masood Azizi"
theme = "paper"

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

[[menu.main]]
name = "CV"
url = "/cv/"
Expand All @@ -18,6 +15,19 @@ name = "Contact"
url = "/contact/"
weight = 2

[sitemap]
changefreq = "weekly"
priority = 0.5
filename = "sitemap.xml"

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

[permalinks]
posts = "/:title/"

[params]
# color style
color = 'linen' # linen, wheat, gray, light
Expand Down
3 changes: 3 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *
Allow: /
Sitemap: https://www.masoodazizi.com/sitemap.xml
8 changes: 8 additions & 0 deletions themes/paper/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,11 @@
{{ partial "footer.html" . }}
</body>
</html>

<!-- open_graph_metadata -->
<meta property="og:title" content="{{ .Title }}">
<meta property="og:description" content="{{ .Params.description }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:image" content="{{ .Params.image | absURL }}">
<meta property="og:site_name" content="{{ .Site.Title }}">

0 comments on commit 4f412d5

Please sign in to comment.