Skip to content

Commit

Permalink
deploy: f224d43
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Dec 4, 2023
0 parents commit ab20556
Show file tree
Hide file tree
Showing 21 changed files with 1,897 additions and 0 deletions.
301 changes: 301 additions & 0 deletions -/all.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
<html lang='en'>

<head>
<meta charset='UTF-8' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<title>
Index – NixOS Asia
</title>


<meta property='og:description' content='[[nixos-asia.svg]]' />
<meta property='og:site_name' content='NixOS Asia' />
<meta property='og:image' content />
<meta property='og:type' content='website' />
<meta property='og:title' content='Index' />


<base href='/emanote-template/' />
<link href='favicon.svg' rel='icon' />

<meta name='generator' content='Emanote' />


<emaNoteFeedUrl></emaNoteFeedUrl>
<link href='tailwind.css?instanceId=88c49cfe-ca62-4e13-b496-15d892fa6d33' rel='stylesheet' type='text/css' />

<style>
/* Heist error element */
strong.error {
color: lightcoral;
font-size: 90%;
font-family: monospace;
}

/* External link icon */
a[data-linkicon=""]::after {
content: ""
}

a[data-linkicon=none]::after {
content: ""
}

a[data-linkicon="external"]::after {
content: url('data:image/svg+xml,\
<svg xmlns="http://www.w3.org/2000/svg" height="0.7em" viewBox="0 0 20 20"> \
<g style="stroke:gray;stroke-width:1"> \
<line x1="5" y1="5" x2="5" y2="14" /> \
<line x1="14" y1="9" x2="14" y2="14" /> \
<line x1="5" y1="14" x2="14" y2="14" /> \
<line x1="5" y1="5" x2="9" y2="5" /> \
<line x1="10" y1="2" x2="17" y2="2" /> \
<line x1="17" y1="2" x2="17" y2="9" /> \
<line x1="10" y1="9" x2="17" y2="2" style="stroke-width:1.0" /> \
</g> \
</svg>');
}

a[data-linkicon="external"][href^="mailto:"]::after {
content: url('data:image/svg+xml,\
<svg \
xmlns="http://www.w3.org/2000/svg" \
height="0.7em" \
fill="none" \
viewBox="0 0 24 24" \
stroke="gray" \
stroke-width="2"> \
<path \
stroke-linecap="round" \
stroke-linejoin="round" \
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" /> \
</svg>');
}
</style>
<!-- What goes in this file will appear on near the end of <head>--><link rel='preload' href='_emanote-static/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf' as='font' type='font/ttf' crossorigin />

<style>
@font-face {
font-family: 'WorkSans';
/* FIXME: This ought to be: ${ema:emanoteStaticLayerUrl}/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf */
src: url(_emanote-static/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf) format("truetype");
font-display: swap;
}

body {
font-family: 'WorkSans', sans-serif;
font-variation-settings: 'wght' 350;
}

a.mavenLinkBold {
font-variation-settings: 'wght' 400;
}

strong {
font-variation-settings: 'wght' 500;
}

h1,
h2,
h3,
h4,
h5,
h6,
header,
.header-font {
font-family: 'WorkSans', sans-serif;
}

h1 {
font-variation-settings: 'wght' 500;
}

h2 {
font-variation-settings: 'wght' 400;
}

h3 {
font-variation-settings: 'wght' 300;
}
</style>


<head-main></head-main>
<link rel='stylesheet' href='_emanote-static/stork/flat.css' />
<!-- Custom Stork-search styling for Emanote -->
<style>
#stork-search-container {
z-index: 1000;
background-color: rgb(15 23 42/.8);
}

.stork-overflow-hidden-important {
overflow: hidden !important;
}
</style>


<script src='_emanote-static/stork/stork.js'></script>


<script id='emanote-stork' data-emanote-base-url='/emanote-template/'>
window.emanote = {};
window.emanote.stork = {
searchShown: false,
indexIsStale: false,
toggleSearch: function () {
window.emanote.stork.refreshIndex();
document.getElementById('stork-search-container').classList.toggle('hidden');
window.emanote.stork.searchShown = document.body.classList.toggle('stork-overflow-hidden-important');
if (window.emanote.stork.searchShown) {
document.getElementById('stork-search-input').focus();
}
},
clearSearch: function () {
document.getElementById('stork-search-container').classList.add('hidden');
document.body.classList.remove('stork-overflow-hidden-important');
window.emanote.stork.searchShown = false;
},

getBaseUrl: function () {
const baseUrl = document.getElementById("emanote-stork").getAttribute('data-emanote-base-url') || '/';
return baseUrl;
},

registerIndex: function (options) {
const indexName = 'emanote-search'; // used to match input[data-stork] attribute value
const indexUrl = window.emanote.stork.getBaseUrl() + '-/stork.st';
stork.register(
indexName,
indexUrl,
options);
},

init: function () {
if (document.readyState !== 'complete') {
window.addEventListener('load', function () {
stork.initialize(window.emanote.stork.getBaseUrl() + '_emanote-static/stork/stork.wasm');
window.emanote.stork.registerIndex();
});

document.addEventListener('keydown', event => {
if (window.emanote.stork.searchShown && event.key === 'Escape') {
window.emanote.stork.clearSearch();
event.preventDefault();
} else if ((event.key == 'k' || event.key == 'K') && (event.ctrlKey || event.metaKey)) {
window.emanote.stork.toggleSearch();
event.preventDefault();
}
});
} else {
// This section is called during Ema's hot reload.
//
// Mark the current index as stale, and refresh it *only when* the
// user actually invokes search.
//
// We do not refresh the index *right away*, as that will cause
// memory leaks in the browser. See
// https://github.com/srid/emanote/issues/411#issuecomment-1402056235
console.log("stork: Marking index as stale");
window.emanote.stork.markIndexAsStale();
}
},

markIndexAsStale: function () {
window.emanote.stork.indexIsStale = true;
},

refreshIndex: function () {
if (window.emanote.stork.indexIsStale) {
console.log("stork: Reloading index");
window.emanote.stork.indexIsStale = false;
// NOTE: This will leak memory. See the comment above.
window.emanote.stork.registerIndex({ forceOverwrite: true });
}
}

};

window.emanote.stork.init();
</script>


</head>

<!-- DoNotFormat -->



<!-- DoNotFormat -->

<body class='bg-gray-400 overflow-y-scroll'>

<div class='container mx-auto '>
<main class='flex-col items-center justify-center mx-2'>
<h1 class='pb-2 mt-2 mb-2 text-6xl text-center'>
Index
</h1>
<div class='pb-2 mx-auto my-4 lg:max-w-screen-md '>

<div class='pt-1 pb-2 pl-4 bg-gray-200'>

</div>

</div>
</main>
<footer class='flex items-center justify-center mt-2 mb-8 space-x-4 text-center text-gray-800'>

<div>
<a href='' title='Go to Home page'>
<svg xmlns='http://www.w3.org/2000/svg' class='w-6 h-6 hover:text-green-700' fill='none' viewBox='0 0 24 24' stroke='currentColor'>
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'></path>
</svg>
</a>
</div>
<div>
<a href='-/all.html' title='View Index'>
<svg class='w-6 h-6 hover:text-green-700' fill='none' stroke='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4'>
</path>
</svg>
</a>
</div>
<div>
<a href='https://emanote.srid.ca' target='_blank' title='Generated by Emanote 1.2.0.0'>
<img class='w-6 h-6 hover:text-green-700' src='_emanote-static/emanote-logo.svg' />
</a>
</div>
<div>
<a href='-/tags.html' title='View tags'>
<svg class='w-6 h-6 hover:text-green-700' fill='none' stroke='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z'>
</path>
</svg>
</a>
</div>
<div>
<a href='-/tasks.html' title='View tasks'>
<svg xmlns='http://www.w3.org/2000/svg' class='w-6 h-6 hover:text-green-700' fill='none' viewBox='0 0 24 24' stroke='currentColor'>
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'></path>
</svg>
</a>
</div>
</footer>
</div>

<div id='stork-search-container' class='hidden fixed w-screen h-screen inset-0 backdrop-filter backdrop-blur-sm'>
<div class='fixed w-screen h-screen inset-0' onclick='window.emanote.stork.toggleSearch()'></div>

<div class='container mx-auto p-10 mt-10'>
<div class='stork-wrapper-flat container mx-auto'>
<input id='stork-search-input' data-stork='emanote-search' class='stork-input' placeholder='Search (Ctrl+K) ...' />
<div data-stork='emanote-search-output' class='stork-output'></div>
</div>
</div>
</div>



</body>

</html>
1 change: 1 addition & 0 deletions -/export.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"files":{"index.md":{"filePath":"index.md","links":[{"resolvedRelTarget":{"contents":"static/nixos-asia.svg","tag":"RRTFound"},"unresolvedRelTarget":{"contents":["WikiLinkEmbed","nixos-asia.svg"],"tag":"URTWikiLink"}}],"meta":{"page":{"description":"[[nixos-asia.svg]]"},"tags":[]},"parentNote":null,"title":"NixOS Asia","url":""}},"version":1}
Binary file added -/stork.st
Binary file not shown.
Loading

0 comments on commit ab20556

Please sign in to comment.