Skip to content

Commit

Permalink
fix non hash bugh
Browse files Browse the repository at this point in the history
  • Loading branch information
jmservera committed May 23, 2024
1 parent 6bacc89 commit 8467f0e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 5 additions & 3 deletions web/_layouts/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@
codeCopy();
tutorial();
//TODO: Fix the issue with the hashchange event
let oldLoc=location.href;
window.location=location+"&";
window.location=oldLoc;
if(location.hash){
let oldLoc=location.href;
window.location=location+"&";
window.location=oldLoc;
}
});
</script>
2 changes: 1 addition & 1 deletion web/_site/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-05-23T16:10:54+02:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Demos and labs</title><subtitle>Demos of tools and Azure services.</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-05-23T16:14:50+02:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Demos and labs</title><subtitle>Demos of tools and Azure services.</subtitle></feed>
8 changes: 5 additions & 3 deletions web/_site/prompt-engineering.html
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,11 @@ <h2 id="some-more-example-prompts">Some more example prompts</h2>
codeCopy();
tutorial();
//TODO: Fix the issue with the hashchange event
let oldLoc=location.href;
window.location=location+"&";
window.location=oldLoc;
if(location.hash){
let oldLoc=location.href;
window.location=location+"&";
window.location=oldLoc;
}
});
</script>
</div>
Expand Down

0 comments on commit 8467f0e

Please sign in to comment.