Skip to content

Commit

Permalink
!NFLECT it is
Browse files Browse the repository at this point in the history
  • Loading branch information
nrchtct committed Feb 5, 2025
1 parent c40b3a3 commit 893cb79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# INFLECT!
# !NFLECT
## Modulating visualizations to tell stories with data

This repository contains a template and example stories that illustrate the idea of interpretative interactions with data visualizations and other inflectable media.
Expand Down
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<link rel="icon" type="image/svg+xml" sizes="any" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📄</text></svg>"/>

<meta charset="UTF-8">
<title>Inflect!</title>
<title>!NFLECT</title>
<script src="src/marked.min.js"></script>

<style>
Expand Down Expand Up @@ -79,6 +79,10 @@
const hash = window.location.hash.substring(1); // Remove '#' from hash
const file = hash ? hash : 'README.md';

const fileA = file.split(".");
if (fileA[0]=="README") document.title = "!NFLECT";
else document.title = "!NFLECT · "+fileA[0];

const response = await fetch(file);
let readme = await response.text();

Expand Down

0 comments on commit 893cb79

Please sign in to comment.