Skip to content

Commit

Permalink
chore: add site title to title tag
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 13, 2024
1 parent 829aa48 commit 5b459c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions output/_config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
title: Twitter community notes

defaults:
-
scope:
Expand Down
2 changes: 1 addition & 1 deletion output/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<title>{{ page.title }}{% if page.url != '/' %} | {{ site.title }}{% endif %}</title>
<link href="//cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="//cdn.datatables.net/v/bs5/jq-3.7.0/dt-2.0.7/fh-4.0.1/datatables.min.css">
<style type="text/css">
Expand Down

0 comments on commit 5b459c8

Please sign in to comment.