Skip to content

Commit 7fcd384

Browse files
committed
feat: add "Home" menu on header | update og:image location
- add header section on all pages to link back to `index.html` main page via "Home" link - update `og:image` tag's content image location to point to http address instead of local file
1 parent ce7a954 commit 7fcd384

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

brave_browser/brave_browser_notes.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<title>devpogi notes</title>
99
</head>
1010
<body>
11+
<header>
12+
<a href="../index.html">Home</a>
13+
</header>
1114

1215
<h1 id="enable-vaapi-settings-for-brave-browser">Enable vaapi settings for brave browser</h1>
1316

common.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ html: $(NOTE_NAME).md
88
-M author="$(AUTHOR)" \
99
-M title="$(TITLE)" \
1010
-M css="$(CSS_PATH)"
11+
@sed -i 's|<body>|<body>\n<header>\n\t<a href="../index.html">Home</a>\n</header>|g' $(NOTE_NAME).$@
1112
@echo -e "generated $(COLOR_BLUE)$(NOTE_NAME).html$(COLOR_NONE)"

html_envelope

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@
1010
<meta property="og:type" content="website">
1111
<meta property="og:title" content="devpogi notes">
1212
<meta property="og:description" content="devprabal's personal note-taking website">
13-
<meta property="og:image" content="/notes/notes_github_cover.png">
13+
<meta property="og:image" content="https://devprabal.github.io/notes/notes_github_cover.png">
1414
<meta name="twitter:card" content="summary_large_image">
1515
<meta property="twitter:domain" content="devprabal.github.io">
1616
<meta property="twitter:url" content="https://devprabal.github.io/notes/">
1717
<meta name="twitter:title" content="devpogi notes">
1818
<meta name="twitter:description" content="devprabal's personal note-taking website">
19-
<meta name="twitter:image" content="/notes/notes_github_cover.png">
19+
<meta name="twitter:image" content="https://devprabal.github.io/notes/notes_github_cover.png">
2020
<title>devpogi notes</title>
2121
</head>
2222
<body>
23+
<header>
24+
<a href="./index.html">Home</a>
25+
</header>

index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@
1010
<meta property="og:type" content="website">
1111
<meta property="og:title" content="devpogi notes">
1212
<meta property="og:description" content="devprabal's personal note-taking website">
13-
<meta property="og:image" content="/notes/notes_github_cover.png">
13+
<meta property="og:image" content="https://devprabal.github.io/notes/notes_github_cover.png">
1414
<meta name="twitter:card" content="summary_large_image">
1515
<meta property="twitter:domain" content="devprabal.github.io">
1616
<meta property="twitter:url" content="https://devprabal.github.io/notes/">
1717
<meta name="twitter:title" content="devpogi notes">
1818
<meta name="twitter:description" content="devprabal's personal note-taking website">
19-
<meta name="twitter:image" content="/notes/notes_github_cover.png">
19+
<meta name="twitter:image" content="https://devprabal.github.io/notes/notes_github_cover.png">
2020
<title>devpogi notes</title>
2121
</head>
2222
<body>
23-
<h1 id="devpogi-notes">devpogi notes</h1>
23+
<header>
24+
<a href="./index.html">Home</a>
25+
</header><h1 id="devpogi-notes">devpogi notes</h1>
2426

2527
<p><em>My learnings on various subjects.</em></p>
2628

linux/linux_notes.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<title>devpogi notes</title>
99
</head>
1010
<body>
11+
<header>
12+
<a href="../index.html">Home</a>
13+
</header>
1114

1215
<h1 id="linux-notes">Linux Notes</h1>
1316

rpi/rpi_notes.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<title>devpogi notes</title>
99
</head>
1010
<body>
11+
<header>
12+
<a href="../index.html">Home</a>
13+
</header>
1114

1215
<h1 id="playing-with-raspberry">Playing with Raspberry</h1>
1316

0 commit comments

Comments
 (0)