Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnyder committed Sep 7, 2024
1 parent 62ee92c commit a31f07c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="apple-touch-icon" href="https://v3.juncture-digital.org/images/mobile-icon.png">

<script>
window.jekyll={ site: {{site|jsonify}}, page: {{page|jsonify}}, content: {{content|jsonify}} }
window.jekyll = {site:{baseurl:'{{site.baseurl}}',github:{owner_name:'{{site.github.owner_name}}',repository_name:'{{site.github.repository_name}}',source:{branch:'{{site.github.source.branch}}'}}},page:{path:'{{page.path}}',dir:'{{page.dir}}',name:'{{page.name}}'}}
window.options = `
title: Juncture
description: Website framework using Markdown, Github Pages, and custom web components.
Expand Down
3 changes: 0 additions & 3 deletions ghp-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -987,9 +987,6 @@ function isJunctureV1(contentEl) {
}

function getContent() {
console.log('getContent')
console.log('config.content', window.config.content)
console.log('document.body.children[0].innerHTML', document.body.children[0].innerHTML)
return window.config.content || document.body.children[0].innerHTML
}

Expand Down

0 comments on commit a31f07c

Please sign in to comment.