| title | tags | layout | orderPath | |||||
|---|---|---|---|---|---|---|---|---|
XYZ |
|
root.html |
/_index |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": 2, | |
| "regions": [ | |
| "lhr1" | |
| ], | |
| "name": "xyz", | |
| "env": { | |
| "DBS": "postgres://user:password@host/db|schema.table", | |
| }, | |
| "builds": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const express = require('express') | |
| const bodyParser = require('body-parser') | |
| const app = express() | |
| app.use(process.env.DIR||'', express.static('public')) | |
| const proxy = require('express-http-proxy'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.dispatchEvent(new CustomEvent('addDashboard', { detail: _f })); | |
| function _f(_xyz, dataview) { | |
| dataview.target.appendChild(_xyz.utils.wire()`<div id="Table1"></div>`); | |
| _xyz.dataview.dataview({ | |
| target: document.getElementById('Table1'), | |
| query: 'Population Summary Sites', | |
| layer: _xyz.layers.list['Sites'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const _collection = collection.getFilteredByGlob('**/*.md').sort( | |
| (a, b) => (a.data.orderPath || a.filePathStem) | |
| .localeCompare((b.data.orderPath || b.filePathStem)) | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _collection.forEach(entry => { | |
| const path = entry.inputPath.split('/') | |
| entry.data.lv = path.length - 2 | |
| entry.data.group && entry.data.lv-- | |
| entry.data.tag = entry.data.tags && entry.data.tags[0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>GEOLYTIX | MapIcons</title> | |
| <link rel="icon" type="image/x-icon" href="https://geolytix.github.io/xyz/public/icons/favicon.ico" /> | |
| <meta charset="UTF-8" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let Tabulator = null | |
| async function dynamicImport() { | |
| if (window.Tabulator) { | |
| Tabulator = window.Tabulator | |
| return; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="javascript.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| alert("Hello World!"); | |
| </script> |