Skip to content

Commit

Permalink
attempt to include anchor
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Stone committed Sep 27, 2023
1 parent 2cb2aaf commit 1d7249f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 6 additions & 0 deletions _includes/_layout/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
if(location.hash){
location=location.href;
}
</script>
{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
{%- feed_meta -%}
Expand All @@ -10,4 +15,5 @@
{%- endif -%}
<link rel="alternate" type="application/rss+xml" href="{{ site.url }}/feed.xml" title="{{ site.title }}">


</head>
7 changes: 0 additions & 7 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@

<body>

<script>
if(location.hash){
console.log(location.hash);
location=location;
}
</script>

{%- include _layout/header.html -%}

<main class="page-content layout-wrapper" aria-label="Content">
Expand Down

0 comments on commit 1d7249f

Please sign in to comment.