Skip to content

Commit

Permalink
Update GitHub tree configuration: change user and repo details, adjus…
Browse files Browse the repository at this point in the history
…t page title, and modify readme link handling
  • Loading branch information
theo-armour committed Jan 17, 2025
1 parent f1c15fc commit e3726e9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions tootoo/2025-01-16/gte/github-tree-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

COR = {

user: "theo-armour",
repo: "pages",
user: "pushme-pullyou",
repo: "tootoo-2025",
branch: "main",
filterFolders: [], //["food-service", "happenings-issues","histories","pages","photos", "scans"],
ignoreFiles: [], // ["404.html", "favicon.ico", "index.html", "LICENSE", "readme.html", "test.md"],
Expand Down
10 changes: 5 additions & 5 deletions tootoo/2025-01-16/gtv/github-tree-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

COR = {

user: "heritage-happenings",
repo: "heritage-happenings.github.io",
branch: "master",
filterFolders: ["food-service", "happenings-issues","histories","pages","photos", "scans"],
ignoreFiles: ["404.html", "favicon.ico", "index.html", "LICENSE", "readme.html", "test.md"],
user: "pushme-pullyou",
repo: "tootoo-2025",
branch: "main",
filterFolders: [], //["food-service", "happenings-issues","histories","pages","photos", "scans"],
ignoreFiles: [], // ["404.html", "favicon.ico", "index.html", "LICENSE", "readme.html", "test.md"],

}
</script>
Expand Down
8 changes: 5 additions & 3 deletions tootoo/2025-01-16/gtv/github-tree-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,16 @@ async function fetchGitHubRepoContents ( user, repo ) {
fileLink.href = `#${ item.path }`;
//fileLink.target = '_blank';

readmeLink = document.createElement( 'a' );
const readmeLink = document.createElement( 'a' );
readmeLink.innerHTML = " <img src='https://pushme-pullyou.github.io/assets/svg/icon-external-link.svg' width=16 >";

readmeLink.href = `../../readme.html#${ item.path }`;
//readmeLink.target = '_blank';

const newLine = document.createElement( 'br' );
const space = document.createElement( 'span' );
space.innerHTML = " ";

folderContents.appendChild( fileLink );
folderContents.appendChild( space );
folderContents.appendChild( readmeLink );
folderContents.appendChild( newLine );
} );
Expand Down
2 changes: 1 addition & 1 deletion tootoo/2025-01-16/tootoo.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>
</a>

<a href="" title="Click this title to reload this page">
<span id=spnTitle>TooToo</span>
<span id=spnTitle>TooToo 2025</span>
<span id=spnVersion></span>
</a>

Expand Down

0 comments on commit e3726e9

Please sign in to comment.