base stuff and remove generated site
This commit is contained in:
parent
85dbc25f11
commit
a8a2019a73
52 changed files with 20973 additions and 411 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
_site
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "_src/wk"]
|
||||
path = _src/wk
|
||||
url = https://git.lio.cat/l/.well-known.git
|
5
.obsidian/app.json
vendored
Normal file
5
.obsidian/app.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"foldHeading": true,
|
||||
"showLineNumber": false,
|
||||
"showInlineTitle": false
|
||||
}
|
6
.obsidian/appearance.json
vendored
Normal file
6
.obsidian/appearance.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"accentColor": "",
|
||||
"baseFontSize": 21,
|
||||
"cssTheme": "Prism",
|
||||
"showViewHeader": true
|
||||
}
|
5
.obsidian/community-plugins.json
vendored
Normal file
5
.obsidian/community-plugins.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
"obsidian-style-settings",
|
||||
"OA-file-hider",
|
||||
"obsidian-hider"
|
||||
]
|
30
.obsidian/core-plugins-migration.json
vendored
Normal file
30
.obsidian/core-plugins-migration.json
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": false,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": false
|
||||
}
|
20
.obsidian/core-plugins.json
vendored
Normal file
20
.obsidian/core-plugins.json
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
[
|
||||
"file-explorer",
|
||||
"global-search",
|
||||
"switcher",
|
||||
"graph",
|
||||
"backlink",
|
||||
"canvas",
|
||||
"outgoing-link",
|
||||
"tag-pane",
|
||||
"page-preview",
|
||||
"daily-notes",
|
||||
"templates",
|
||||
"note-composer",
|
||||
"command-palette",
|
||||
"editor-status",
|
||||
"bookmarks",
|
||||
"outline",
|
||||
"word-count",
|
||||
"file-recovery"
|
||||
]
|
9
.obsidian/plugins/OA-file-hider/data.json
vendored
Normal file
9
.obsidian/plugins/OA-file-hider/data.json
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"hidden": true,
|
||||
"hiddenList": [
|
||||
"_site",
|
||||
"_src/_includes",
|
||||
"_src/_data",
|
||||
"_src/_components"
|
||||
]
|
||||
}
|
239
.obsidian/plugins/OA-file-hider/main.js
vendored
Executable file
239
.obsidian/plugins/OA-file-hider/main.js
vendored
Executable file
|
@ -0,0 +1,239 @@
|
|||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
||||
var __export = (target, all) => {
|
||||
__markAsModule(target);
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __reExport = (target, module2, desc) => {
|
||||
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
||||
for (let key of __getOwnPropNames(module2))
|
||||
if (!__hasOwnProp.call(target, key) && key !== "default")
|
||||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
||||
}
|
||||
return target;
|
||||
};
|
||||
var __toModule = (module2) => {
|
||||
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
||||
};
|
||||
var __async = (__this, __arguments, generator) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
var fulfilled = (value) => {
|
||||
try {
|
||||
step(generator.next(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var rejected = (value) => {
|
||||
try {
|
||||
step(generator.throw(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
||||
step((generator = generator.apply(__this, __arguments)).next());
|
||||
});
|
||||
};
|
||||
|
||||
// src/main.ts
|
||||
__export(exports, {
|
||||
default: () => FileHider
|
||||
});
|
||||
|
||||
// src/commands/toggleVisibility.ts
|
||||
var VisibilityToggleCommand = class {
|
||||
constructor(plugin) {
|
||||
plugin.addCommand({
|
||||
id: "oa-fh-toggle-visibility",
|
||||
name: "Toggle Visibility",
|
||||
callback: () => {
|
||||
plugin.toggleVisibility();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// src/settings/hiddenToggle.ts
|
||||
var import_obsidian = __toModule(require("obsidian"));
|
||||
var VisibilityToggleSetting = class {
|
||||
static create(plugin, container) {
|
||||
return new import_obsidian.Setting(container).setName(`Hidden File Visibility`).setDesc(`Toggle whether or not files and folders that are told to be hidden will be hidden or not.`).addToggle((toggle) => {
|
||||
toggle.setValue(!plugin.settings.hidden).onChange(() => {
|
||||
plugin.toggleVisibility();
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// src/main.ts
|
||||
var import_obsidian4 = __toModule(require("obsidian"));
|
||||
|
||||
// src/settings/manageHiddenPaths.ts
|
||||
var import_obsidian3 = __toModule(require("obsidian"));
|
||||
|
||||
// src/modals/HiddenList.ts
|
||||
var import_obsidian2 = __toModule(require("obsidian"));
|
||||
var HiddenPathsModal = class extends import_obsidian2.Modal {
|
||||
constructor(plugin) {
|
||||
super(plugin.app);
|
||||
this.plugin = plugin;
|
||||
}
|
||||
onOpen() {
|
||||
const { contentEl: content } = this;
|
||||
content.createEl(`h1`, { text: `Hidden Files and Folders` });
|
||||
content.createEl(`hr`);
|
||||
let body = content.createEl(`div`, { cls: `hidden-list-modal-body` });
|
||||
this.plugin.settings.hiddenList.forEach((path) => {
|
||||
let c = body.createEl(`div`);
|
||||
new import_obsidian2.Setting(c).setName(path).addButton((btn) => {
|
||||
btn.setIcon(`cross`).setTooltip(`Remove`).onClick((e) => {
|
||||
this.plugin.unhidePath(path);
|
||||
c.hide();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
onClose() {
|
||||
const { contentEl } = this;
|
||||
contentEl.empty();
|
||||
}
|
||||
};
|
||||
|
||||
// src/settings/manageHiddenPaths.ts
|
||||
var ManageHiddenPaths = class {
|
||||
static create(plugin, container) {
|
||||
return new import_obsidian3.Setting(container).setName(`Hidden Files and Folders`).setDesc(`Add or remove files and folders from the list that are being hidden`).addButton((b) => {
|
||||
b.setButtonText(`Manage`).onClick((event) => {
|
||||
if (!event.isTrusted) {
|
||||
return;
|
||||
}
|
||||
new HiddenPathsModal(plugin).open();
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// src/utils.ts
|
||||
function changePathVisibility(path, hide) {
|
||||
let n = document.querySelector(`[data-path="${path}"]`);
|
||||
if (!n) {
|
||||
return;
|
||||
}
|
||||
;
|
||||
let p = n.parentElement;
|
||||
if (hide) {
|
||||
p.style.display = `none`;
|
||||
} else {
|
||||
p.style.display = ``;
|
||||
}
|
||||
;
|
||||
}
|
||||
|
||||
// src/main.ts
|
||||
var FileHider = class extends import_obsidian4.Plugin {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.settings = {
|
||||
hidden: true,
|
||||
hiddenList: []
|
||||
};
|
||||
this.style = null;
|
||||
}
|
||||
onload() {
|
||||
return __async(this, null, function* () {
|
||||
yield this.loadSettings();
|
||||
this.registerEvent(this.app.workspace.on(`file-menu`, (menu, file) => {
|
||||
if (file instanceof import_obsidian4.TFolder) {
|
||||
menu.addItem((i) => {
|
||||
if (this.settings.hiddenList.includes(file.path)) {
|
||||
i.setTitle(`Unhide Folder`).setIcon(`eye`).onClick(() => {
|
||||
this.unhidePath(file.path);
|
||||
});
|
||||
} else {
|
||||
i.setTitle(`Hide Folder`).setIcon(`eye-off`).onClick(() => {
|
||||
changePathVisibility(file.path, this.settings.hidden);
|
||||
this.settings.hiddenList.push(file.path);
|
||||
this.saveSettings();
|
||||
});
|
||||
}
|
||||
;
|
||||
});
|
||||
} else {
|
||||
menu.addItem((i) => {
|
||||
if (this.settings.hiddenList.includes(file.path)) {
|
||||
i.setTitle(`Unhide File`).setIcon(`eye`).onClick((e) => {
|
||||
this.unhidePath(file.path);
|
||||
});
|
||||
} else {
|
||||
i.setTitle(`Hide File`).setIcon(`eye-off`).onClick((e) => {
|
||||
changePathVisibility(file.path, this.settings.hidden);
|
||||
this.settings.hiddenList.push(file.path);
|
||||
this.saveSettings();
|
||||
});
|
||||
}
|
||||
;
|
||||
});
|
||||
}
|
||||
;
|
||||
}));
|
||||
this.app.workspace.onLayoutReady(() => {
|
||||
setTimeout(() => {
|
||||
for (const path of this.settings.hiddenList) {
|
||||
changePathVisibility(path, this.settings.hidden);
|
||||
}
|
||||
;
|
||||
}, 200);
|
||||
});
|
||||
new VisibilityToggleCommand(this);
|
||||
this.addSettingTab(new FileHiderSettingsTab(this.app, this));
|
||||
});
|
||||
}
|
||||
loadSettings() {
|
||||
return __async(this, null, function* () {
|
||||
this.settings = Object.assign({}, this.settings, yield this.loadData());
|
||||
});
|
||||
}
|
||||
saveSettings() {
|
||||
return __async(this, null, function* () {
|
||||
yield this.saveData(this.settings);
|
||||
});
|
||||
}
|
||||
toggleVisibility() {
|
||||
this.settings.hidden = !this.settings.hidden;
|
||||
for (const path of this.settings.hiddenList) {
|
||||
changePathVisibility(path, this.settings.hidden);
|
||||
}
|
||||
;
|
||||
this.saveSettings();
|
||||
}
|
||||
unhidePath(path) {
|
||||
let i = this.settings.hiddenList.indexOf(path);
|
||||
this.settings.hiddenList.splice(i, 1);
|
||||
changePathVisibility(path, false);
|
||||
this.saveSettings();
|
||||
}
|
||||
};
|
||||
var FileHiderSettingsTab = class extends import_obsidian4.PluginSettingTab {
|
||||
constructor(app, plugin) {
|
||||
super(app, plugin);
|
||||
this.plugin = plugin;
|
||||
}
|
||||
display() {
|
||||
const { containerEl: container } = this;
|
||||
container.empty();
|
||||
VisibilityToggleSetting.create(this.plugin, container);
|
||||
ManageHiddenPaths.create(this.plugin, container);
|
||||
}
|
||||
};
|
11
.obsidian/plugins/OA-file-hider/manifest.json
vendored
Normal file
11
.obsidian/plugins/OA-file-hider/manifest.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "OA-file-hider",
|
||||
"name": "File Hider",
|
||||
"version": "1.1.1",
|
||||
"minAppVersion": "0.14.6",
|
||||
"description": "An Obsidian plugin that allows hiding files and folders in the built-in file explorer",
|
||||
"author": "Oliver Akins",
|
||||
"authorUrl": "https://github.com/Oliver-Akins",
|
||||
"isDesktopOnly": false,
|
||||
"branch": "main"
|
||||
}
|
14
.obsidian/plugins/obsidian-hider/data.json
vendored
Normal file
14
.obsidian/plugins/obsidian-hider/data.json
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"hideRibbon": false,
|
||||
"hideStatus": false,
|
||||
"hideTabs": false,
|
||||
"hideScroll": false,
|
||||
"hideSidebarButtons": false,
|
||||
"hideTooltips": false,
|
||||
"hideFileNavButtons": false,
|
||||
"hideSearchSuggestions": false,
|
||||
"hideSearchCounts": false,
|
||||
"hideInstructions": false,
|
||||
"hidePropertiesReading": false,
|
||||
"hideVault": false
|
||||
}
|
239
.obsidian/plugins/obsidian-hider/main.js
vendored
Executable file
239
.obsidian/plugins/obsidian-hider/main.js
vendored
Executable file
File diff suppressed because one or more lines are too long
11
.obsidian/plugins/obsidian-hider/manifest.json
vendored
Normal file
11
.obsidian/plugins/obsidian-hider/manifest.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "obsidian-hider",
|
||||
"name": "Hider",
|
||||
"version": "1.3.1",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Hide UI elements such as tooltips, status, titlebar and more",
|
||||
"author": "@kepano",
|
||||
"authorUrl": "https://www.twitter.com/kepano",
|
||||
"fundingUrl": "https://www.buymeacoffee.com/kepano",
|
||||
"isDesktopOnly": false
|
||||
}
|
77
.obsidian/plugins/obsidian-hider/styles.css
vendored
Normal file
77
.obsidian/plugins/obsidian-hider/styles.css
vendored
Normal file
|
@ -0,0 +1,77 @@
|
|||
/* Hides vault name */
|
||||
.hider-vault .nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Hide tabs */
|
||||
.hider-tabs .mod-root .workspace-tabs .workspace-tab-header-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hide sidebar buttons */
|
||||
.hider-sidebar-buttons .sidebar-toggle-button.mod-right,
|
||||
.hider-sidebar-buttons .sidebar-toggle-button.mod-left {
|
||||
display: none;
|
||||
}
|
||||
.hider-sidebar-buttons.mod-macos.is-hidden-frameless:not(.is-popout-window) .workspace .workspace-tabs.mod-top-right-space .workspace-tab-header-container {
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
/* Hide ribbon */
|
||||
.hider-ribbon.mod-macos.is-hidden-frameless:not(.is-fullscreen):not(.is-popout-window) .workspace-tabs.mod-top-left-space .workspace-tab-header-container {
|
||||
padding-left: calc(var(--frame-left-space) + var(--ribbon-width));
|
||||
}
|
||||
|
||||
.hider-ribbon .workspace-ribbon.mod-left {
|
||||
display:none;
|
||||
}
|
||||
.hider-ribbon .workspace-ribbon.mod-right {
|
||||
visibility:hidden;
|
||||
position:absolute;
|
||||
}
|
||||
.hider-ribbon .workspace-split.mod-right-split {
|
||||
margin-right:0;
|
||||
}
|
||||
.hider-ribbon .workspace-split.mod-left-split {
|
||||
margin-left:0;
|
||||
}
|
||||
|
||||
/* Hide meta */
|
||||
.hider-meta .markdown-reading-view .metadata-container {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Hide scrollbars */
|
||||
.hider-scroll ::-webkit-scrollbar {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Hide status */
|
||||
.hider-status .status-bar {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Hide tooltips */
|
||||
.hider-tooltips .tooltip {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Hide search suggestions */
|
||||
.hider-search-suggestions .suggestion-container.mod-search-suggestion {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hide search count flair */
|
||||
.hider-search-counts .tree-item-flair:not(.tag-pane-tag-count) {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Hide instructions */
|
||||
.hider-instructions .prompt-instructions {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Hide file nav header */
|
||||
.hider-file-nav-header .workspace-leaf-content[data-type=file-explorer] .nav-header {
|
||||
display: none;
|
||||
}
|
14
.obsidian/plugins/obsidian-style-settings/data.json
vendored
Normal file
14
.obsidian/plugins/obsidian-style-settings/data.json
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"obsidian-prism-theme@@radius-m": 0,
|
||||
"obsidian-prism-theme@@radius-s": 4,
|
||||
"obsidian-prism-theme@@left-sidebar-tab-label-alignment": "pt-tab-label-left-sidebar-center",
|
||||
"obsidian-prism-theme@@right-sidebar-tab-label-alignment": "pt-tab-label-right-sidebar-center",
|
||||
"obsidian-prism-theme@@nav-header-left-sidebar-position": "pt-nav-header-left-sidebar-position-bottom",
|
||||
"obsidian-prism-theme@@nav-header-left-sidebar-alignment": "pt-nav-header-left-sidebar-align-left",
|
||||
"obsidian-prism-theme@@nav-header-right-sidebar-position": "pt-nav-header-right-sidebar-position-bottom",
|
||||
"obsidian-prism-theme@@nav-header-right-sidebar-alignment": "pt-nav-header-right-sidebar-align-right",
|
||||
"obsidian-prism-theme@@file-explorer-left-margin": 0,
|
||||
"obsidian-prism-theme@@pt-file-explorer-folder-icon": true,
|
||||
"obsidian-prism-theme@@pt-file-explorer-folder-icon-color": "pt-file-explorer-folder-icon-active",
|
||||
"obsidian-prism-theme@@pt-titlebar-hide-text": true
|
||||
}
|
9850
.obsidian/plugins/obsidian-style-settings/main.js
vendored
Executable file
9850
.obsidian/plugins/obsidian-style-settings/main.js
vendored
Executable file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/obsidian-style-settings/manifest.json
vendored
Normal file
10
.obsidian/plugins/obsidian-style-settings/manifest.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-style-settings",
|
||||
"name": "Style Settings",
|
||||
"version": "1.0.7",
|
||||
"minAppVersion": "0.11.5",
|
||||
"description": "Offers controls for adjusting theme, plugin, and snippet CSS variables.",
|
||||
"author": "mgmeyers",
|
||||
"authorUrl": "https://github.com/mgmeyers/obsidian-style-settings",
|
||||
"isDesktopOnly": false
|
||||
}
|
243
.obsidian/plugins/obsidian-style-settings/styles.css
vendored
Normal file
243
.obsidian/plugins/obsidian-style-settings/styles.css
vendored
Normal file
File diff suppressed because one or more lines are too long
8
.obsidian/themes/Prism/manifest.json
vendored
Normal file
8
.obsidian/themes/Prism/manifest.json
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"name": "Prism",
|
||||
"version": "3.4.3",
|
||||
"minAppVersion": "1.4.3",
|
||||
"author": "Damian Korcz",
|
||||
"authorUrl": "https://github.com/damiankorcz",
|
||||
"fundingUrl": "https://www.buymeacoffee.com/DamianKorcz"
|
||||
}
|
9774
.obsidian/themes/Prism/theme.css
vendored
Normal file
9774
.obsidian/themes/Prism/theme.css
vendored
Normal file
File diff suppressed because one or more lines are too long
165
.obsidian/workspace.json
vendored
Normal file
165
.obsidian/workspace.json
vendored
Normal file
|
@ -0,0 +1,165 @@
|
|||
{
|
||||
"main": {
|
||||
"id": "2b40b6f7dee305e7",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "1764e3460ba798d3",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "0ea9304f312c3cee",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "ReadMe.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "987fe32eaea49e65",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "7a90ad3caef1e53c",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "4a732fbf26477b7a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "28a9b13de628bdb3",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "79cd15f11a4b9cc2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "bookmarks",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "cbde21252b754de4",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "59429a850b96fc8c",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "662b60e36d8162c9",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "ReadMe.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "af4d6ca9e92c937b",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "ReadMe.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "5981a6b04ea29a1b",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "95ecb7fa30cb117b",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "ReadMe.md"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
"switcher:Open quick switcher": false,
|
||||
"graph:Open graph view": false,
|
||||
"canvas:Create new canvas": false,
|
||||
"daily-notes:Open today's daily note": false,
|
||||
"templates:Insert template": false,
|
||||
"command-palette:Open command palette": false
|
||||
}
|
||||
},
|
||||
"active": "0ea9304f312c3cee",
|
||||
"lastOpenFiles": [
|
||||
"_src/_includes/partials/~syncthing~footer.vento.tmp",
|
||||
"_site/~syncthing~styles.css.tmp",
|
||||
"_src/_includes/layouts/~syncthing~landing.vento.tmp",
|
||||
"_src/_includes/partials/footer.vento",
|
||||
"_site/~syncthing~feed.rss.tmp",
|
||||
"_src/~syncthing~index.md.tmp",
|
||||
"_src/files/~syncthing~darkmode.js.tmp",
|
||||
"_site/~syncthing~index.html.tmp",
|
||||
"_src/_includes/layouts/~syncthing~base.vento.tmp",
|
||||
"_src/_includes/partials/nav.vento",
|
||||
"~syncthing~_config.ts.tmp",
|
||||
"_src/wk/README.md",
|
||||
"_src/index.md",
|
||||
"ReadMe.md"
|
||||
]
|
||||
}
|
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
|
@ -1,5 +1,11 @@
|
|||
{
|
||||
"deno.enable": true,
|
||||
"deno.lint": true,
|
||||
"deno.unstable": true
|
||||
"deno.unstable": true,
|
||||
"tailwindCSS.classAttributes": ["class", "className", "ngClass", ".*Styles"],
|
||||
"editor.quickSuggestions": {
|
||||
"strings": true
|
||||
},
|
||||
"editor.inlineSuggest.enabled": true,
|
||||
"css.validate": false
|
||||
}
|
||||
|
|
11
ReadMe.md
Normal file
11
ReadMe.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Lotus
|
||||
|
||||
i'm never happy with my website, so here's v7 written with [Lume]
|
||||
|
||||
## Inspiration
|
||||
|
||||
- adryd.com
|
||||
- slice.zone
|
||||
- johan.im
|
||||
|
||||
[Lume]: https://lume.land/
|
29
_config.ts
29
_config.ts
|
@ -10,21 +10,22 @@ import filter_pages from "lume/plugins/filter_pages.ts";
|
|||
import mdx from "lume/plugins/mdx.ts";
|
||||
import metas from "lume/plugins/metas.ts";
|
||||
import nav from "lume/plugins/nav.ts";
|
||||
import pagefind from "lume/plugins/pagefind.ts";
|
||||
// import pagefind from "lume/plugins/pagefind.ts";
|
||||
import reading_info from "lume/plugins/reading_info.ts";
|
||||
import source_maps from "lume/plugins/source_maps.ts";
|
||||
import tailwindcss from "lume/plugins/tailwindcss.ts";
|
||||
import postcss from "lume/plugins/postcss.ts";
|
||||
import terser from "lume/plugins/terser.ts";
|
||||
|
||||
|
||||
// Components
|
||||
// import Link from "./_src/_components/Link.vento";
|
||||
|
||||
const site = lume({
|
||||
src: "_src",
|
||||
|
||||
});
|
||||
|
||||
site.ignore(
|
||||
"readme.md",
|
||||
)
|
||||
|
||||
site.data("greeting", () => {
|
||||
const hellos = ["Ahoy!", "Ahoy there!", "Hey there!", "Howdy howdy!", "Howdy, friend!", "Howdy!", "Hey!", "Hey there!", "Hi!", "Hello!", "Hello there!", "Hi there!"];
|
||||
|
@ -47,14 +48,28 @@ site.use(metas({
|
|||
extensions: [".md", ".mdx"],
|
||||
}));
|
||||
site.use(nav());
|
||||
site.use(pagefind());
|
||||
// site.use(pagefind());
|
||||
site.use(reading_info());
|
||||
site.use(source_maps());
|
||||
site.use(tailwindcss());
|
||||
site.use(tailwindcss({
|
||||
options: {
|
||||
attributes: {
|
||||
darkMode: 'class'
|
||||
}
|
||||
}
|
||||
}));
|
||||
site.use(postcss());
|
||||
site.use(terser());
|
||||
|
||||
site.ignore('wk')
|
||||
site.copy("files");
|
||||
site.copy(".well-known");
|
||||
|
||||
// Manually define the included WK Files to prevent it from copying the .git folder
|
||||
site.copy("wk/fursona", ".well-known/fursona");
|
||||
|
||||
// site.script("cleanup",
|
||||
// // "echo pwd"
|
||||
// ["sudo rm -rf .well-known/.git"]
|
||||
// )
|
||||
|
||||
export default site;
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">
|
||||
<channel>
|
||||
<title>My RSS Feed</title>
|
||||
<link>http://localhost:3000/</link>
|
||||
<atom:link href="http://localhost:3000/feed.rss" rel="self" type="application/rss+xml"/>
|
||||
<description></description>
|
||||
<lastBuildDate>Sat, 06 Jan 2024 01:55:09 GMT</lastBuildDate>
|
||||
<language>en</language>
|
||||
<generator>Lume v2.0.2</generator>
|
||||
<item>
|
||||
<link>http://localhost:3000/</link>
|
||||
<guid isPermaLink="false">http://localhost:3000/</guid>
|
||||
<content:encoded>
|
||||
<![CDATA[<h1>Ahoy!</h1>
|
||||
]]>
|
||||
</content:encoded>
|
||||
<pubDate>Fri, 05 Jan 2024 21:19:45 GMT</pubDate>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB |
|
@ -1,67 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Lio</title>
|
||||
<meta name="description" content="Lio's personal site">
|
||||
<link rel="stylesheet" href="/styles.css">
|
||||
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="Lio">
|
||||
<link rel="alternate" href="/feed.json" type="application/json" title="Lio">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.5;
|
||||
color: #fff;
|
||||
background-color: #222;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="http://localhost:3000/">
|
||||
<meta name="twitter:card" content="summary">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<a href="https://twitter.com/fangmrks" target="_blank" class="social-icon">
|
||||
Twitter
|
||||
</a>
|
||||
|
||||
<a href="https://pogcha.mp" target="_blank" class="social-icon">
|
||||
Bluesky
|
||||
</a>
|
||||
|
||||
<a href="https://lio.to/mastodon" target="_blank" class="social-icon">
|
||||
Mastodon
|
||||
</a>
|
||||
|
||||
<a href="https://git.lio.cat/l" target="_blank" class="social-icon">
|
||||
Forge
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/fangmarks" target="_blank" class="social-icon">
|
||||
Github
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="">
|
||||
<h1>Ahoy!</h1>
|
||||
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
|
||||
© 2024
|
||||
Lio
|
||||
|
||||
</footer>
|
||||
|
||||
<!-- Current page: / -->
|
||||
|
||||
</body></html>
|
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
{"version":"1.0.4","languages":{"en":{"hash":"en_32912b80e7","wasm":"en","page_count":1}}}
|
File diff suppressed because one or more lines are too long
|
@ -1,223 +0,0 @@
|
|||
:root {
|
||||
--pagefind-ui-scale: 0.8;
|
||||
--pagefind-ui-primary: #034AD8;
|
||||
--pagefind-ui-fade: #707070;
|
||||
--pagefind-ui-text: #393939;
|
||||
--pagefind-ui-background: #ffffff;
|
||||
--pagefind-ui-border: #eeeeee;
|
||||
--pagefind-ui-tag: #eeeeee;
|
||||
--pagefind-ui-border-width: 2px;
|
||||
--pagefind-ui-border-radius: 8px;
|
||||
--pagefind-ui-image-border-radius: 8px;
|
||||
--pagefind-ui-image-box-ratio: 3 / 2;
|
||||
--pagefind-ui-font: system, -apple-system, ".SFNSText-Regular",
|
||||
"San Francisco", "Roboto", "Segoe UI", "Helvetica Neue",
|
||||
"Lucida Grande", sans-serif;
|
||||
}
|
||||
|
||||
[data-pfmod-hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-pfmod-suppressed] {
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
[data-pfmod-sr-hidden] {
|
||||
-webkit-clip: rect(0 0 0 0) !important;
|
||||
clip: rect(0 0 0 0) !important;
|
||||
-webkit-clip-path: inset(100%) !important;
|
||||
clip-path: inset(100%) !important;
|
||||
height: 1px !important;
|
||||
overflow: hidden !important;
|
||||
overflow: clip !important;
|
||||
position: absolute !important;
|
||||
white-space: nowrap !important;
|
||||
width: 1px !important;
|
||||
}
|
||||
|
||||
[data-pfmod-loading] {
|
||||
color: var(--pagefind-ui-text);
|
||||
background-color: var(--pagefind-ui-text);
|
||||
border-radius: var(--pagefind-ui-border-radius);
|
||||
opacity: 0.1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Input */
|
||||
|
||||
.pagefind-modular-input-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pagefind-modular-input-wrapper::before {
|
||||
background-color: var(--pagefind-ui-text);
|
||||
width: calc(18px * var(--pagefind-ui-scale));
|
||||
height: calc(18px * var(--pagefind-ui-scale));
|
||||
top: calc(23px * var(--pagefind-ui-scale));
|
||||
left: calc(20px * var(--pagefind-ui-scale));
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: block;
|
||||
opacity: 0.7;
|
||||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7549 11.255H11.9649L11.6849 10.985C12.6649 9.845 13.2549 8.365 13.2549 6.755C13.2549 3.165 10.3449 0.255005 6.75488 0.255005C3.16488 0.255005 0.254883 3.165 0.254883 6.755C0.254883 10.345 3.16488 13.255 6.75488 13.255C8.36488 13.255 9.84488 12.665 10.9849 11.685L11.2549 11.965V12.755L16.2549 17.745L17.7449 16.255L12.7549 11.255ZM6.75488 11.255C4.26488 11.255 2.25488 9.245 2.25488 6.755C2.25488 4.26501 4.26488 2.255 6.75488 2.255C9.24488 2.255 11.2549 4.26501 11.2549 6.755C11.2549 9.245 9.24488 11.255 6.75488 11.255Z' fill='%23000000'/%3E%3C/svg%3E%0A");
|
||||
mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7549 11.255H11.9649L11.6849 10.985C12.6649 9.845 13.2549 8.365 13.2549 6.755C13.2549 3.165 10.3449 0.255005 6.75488 0.255005C3.16488 0.255005 0.254883 3.165 0.254883 6.755C0.254883 10.345 3.16488 13.255 6.75488 13.255C8.36488 13.255 9.84488 12.665 10.9849 11.685L11.2549 11.965V12.755L16.2549 17.745L17.7449 16.255L12.7549 11.255ZM6.75488 11.255C4.26488 11.255 2.25488 9.245 2.25488 6.755C2.25488 4.26501 4.26488 2.255 6.75488 2.255C9.24488 2.255 11.2549 4.26501 11.2549 6.755C11.2549 9.245 9.24488 11.255 6.75488 11.255Z' fill='%23000000'/%3E%3C/svg%3E%0A");
|
||||
-webkit-mask-size: 100%;
|
||||
mask-size: 100%;
|
||||
z-index: 9;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.pagefind-modular-input {
|
||||
height: calc(64px * var(--pagefind-ui-scale));
|
||||
padding: 0 calc(70px * var(--pagefind-ui-scale)) 0 calc(54px * var(--pagefind-ui-scale));
|
||||
background-color: var(--pagefind-ui-background);
|
||||
border: var(--pagefind-ui-border-width) solid var(--pagefind-ui-border);
|
||||
border-radius: var(--pagefind-ui-border-radius);
|
||||
font-size: calc(21px * var(--pagefind-ui-scale));
|
||||
position: relative;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.pagefind-modular-input::-moz-placeholder {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.pagefind-modular-input::placeholder {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.pagefind-modular-input-clear {
|
||||
position: absolute;
|
||||
top: calc(2px * var(--pagefind-ui-scale));
|
||||
right: calc(2px * var(--pagefind-ui-scale));
|
||||
height: calc(60px * var(--pagefind-ui-scale));
|
||||
border-radius: var(--pagefind-ui-border-radius);
|
||||
padding: 0 calc(15px * var(--pagefind-ui-scale)) 0 calc(2px * var(--pagefind-ui-scale));
|
||||
color: var(--pagefind-ui-text);
|
||||
font-size: calc(14px * var(--pagefind-ui-scale));
|
||||
cursor: pointer;
|
||||
background-color: var(--pagefind-ui-background);
|
||||
border: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
/* ResultList */
|
||||
|
||||
.pagefind-modular-list-result {
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: min(calc(40px * var(--pagefind-ui-scale)), 3%);
|
||||
padding: calc(30px * var(--pagefind-ui-scale)) 0 calc(40px * var(--pagefind-ui-scale));
|
||||
border-top: solid var(--pagefind-ui-border-width) var(--pagefind-ui-border);
|
||||
}
|
||||
|
||||
.pagefind-modular-list-result:last-of-type {
|
||||
border-bottom: solid var(--pagefind-ui-border-width) var(--pagefind-ui-border);
|
||||
}
|
||||
|
||||
.pagefind-modular-list-thumb {
|
||||
width: min(30%,
|
||||
calc((30% - (100px * var(--pagefind-ui-scale))) * 100000));
|
||||
max-width: calc(120px * var(--pagefind-ui-scale));
|
||||
margin-top: calc(10px * var(--pagefind-ui-scale));
|
||||
aspect-ratio: var(--pagefind-ui-image-box-ratio);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pagefind-modular-list-image {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
border-radius: var(--pagefind-ui-image-border-radius);
|
||||
}
|
||||
|
||||
.pagefind-modular-list-inner {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
margin-top: calc(10px * var(--pagefind-ui-scale));
|
||||
}
|
||||
|
||||
.pagefind-modular-list-title {
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
font-size: calc(21px * var(--pagefind-ui-scale));
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.pagefind-modular-list-link {
|
||||
color: var(--pagefind-ui-text);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pagefind-modular-list-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.pagefind-modular-list-excerpt {
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
font-size: calc(16px * var(--pagefind-ui-scale));
|
||||
margin-top: calc(4px * var(--pagefind-ui-scale));
|
||||
margin-bottom: 0;
|
||||
min-width: calc(250px * var(--pagefind-ui-scale));
|
||||
}
|
||||
|
||||
/* FilterPills */
|
||||
|
||||
.pagefind-modular-filter-pills-wrapper {
|
||||
overflow-x: scroll;
|
||||
padding: 15px 0;
|
||||
}
|
||||
|
||||
.pagefind-modular-filter-pills {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.pagefind-modular-filter-pill {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
padding: 0 calc(24px * var(--pagefind-ui-scale));
|
||||
background-color: var(--pagefind-ui-background);
|
||||
color: var(--pagefind-ui-fade);
|
||||
border: var(--pagefind-ui-border-width) solid var(--pagefind-ui-border);
|
||||
border-radius: calc(25px * var(--pagefind-ui-scale));
|
||||
font-size: calc(18px * var(--pagefind-ui-scale));
|
||||
height: calc(50px * var(--pagefind-ui-scale));
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pagefind-modular-filter-pill:hover {
|
||||
border-color: var(--pagefind-ui-primary);
|
||||
}
|
||||
|
||||
.pagefind-modular-filter-pill[aria-pressed="true"] {
|
||||
border-color: var(--pagefind-ui-primary);
|
||||
color: var(--pagefind-ui-primary);
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
3
_src/_components/Link.vento
Normal file
3
_src/_components/Link.vento
Normal file
|
@ -0,0 +1,3 @@
|
|||
<a class="fancy-link " href="{{url}}">
|
||||
{{ name }}
|
||||
</a>
|
|
@ -1,10 +1,10 @@
|
|||
- name: Twitter
|
||||
url: https://twitter.com/fangmrks
|
||||
url: https://lio.to/twitter
|
||||
- name: Bluesky
|
||||
url: https://pogcha.mp
|
||||
- name: Mastodon
|
||||
url: https://lio.to/mastodon
|
||||
- name: Forge
|
||||
url: https://git.lio.cat/l
|
||||
url: https://lio.to/git
|
||||
- name: Github
|
||||
url: https://github.com/fangmarks
|
||||
url: https://lio.to/github
|
31
_src/_includes/layouts/base.vento
Normal file
31
_src/_includes/layouts/base.vento
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: Lio
|
||||
description: "Lio's personal site"
|
||||
---
|
||||
<!doctype html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }} - Lio</title>
|
||||
<meta name="description" content="{{ description }}">
|
||||
<meta name="supported-color-schemes" content="light dark" />
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ title }}">
|
||||
<link rel="alternate" href="/feed.json" type="application/json" title="{{ title }}">
|
||||
</head>
|
||||
<body class="ccontainer bg-red-200 dark:bg-zinc-900 dark:text-white">
|
||||
{{ if includeSocials }}
|
||||
{{ include "partials/socials.vento" }}
|
||||
{{ /if}}
|
||||
|
||||
<main class="">
|
||||
{{ content }}
|
||||
</main>
|
||||
|
||||
{{ if includeFooter }}
|
||||
{{ include "partials/footer.vento" }}
|
||||
{{ /if}}
|
||||
</body>
|
||||
</html>
|
|
@ -1,49 +1,6 @@
|
|||
---
|
||||
title: Lio
|
||||
description: "Lio's personal site"
|
||||
layout: "layouts/base.vento"
|
||||
includeFooter: true
|
||||
---
|
||||
<!doctype html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }}</title>
|
||||
<meta name="description" content="{{ description }}">
|
||||
<link rel="stylesheet" href="/styles.css">
|
||||
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ title }}">
|
||||
<link rel="alternate" href="/feed.json" type="application/json" title="{{ title }}">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.5;
|
||||
color: #fff;
|
||||
background-color: #222;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{{ if includeSocials }}
|
||||
{{ include "partials/socials.vento" }}
|
||||
{{ /if}}
|
||||
|
||||
<main class="">
|
||||
{{ content }}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
{{if getYear() === 2024}}
|
||||
© {{ getYear() }}
|
||||
Lio
|
||||
{{else}}
|
||||
© {{ getYear() }} - 2024
|
||||
Lio
|
||||
{{/if}}
|
||||
</footer>
|
||||
|
||||
<!-- Current page: {{ url }} -->
|
||||
</body>
|
||||
</html>
|
||||
{{content}}
|
17
_src/_includes/partials/footer.vento
Normal file
17
_src/_includes/partials/footer.vento
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
templateEngine: [vento, md]
|
||||
---
|
||||
|
||||
|
||||
<footer class="text-orange-200">
|
||||
<div>
|
||||
{{if getYear() === 2024}}
|
||||
© {{ getYear() }} Lio
|
||||
{{else}}
|
||||
© {{ getYear() }} - 2024 Lio
|
||||
{{/if}}
|
||||
<div/>
|
||||
<div>
|
||||
made with {{ comp.Link({url: "https://lume.land", name: "lume"}) }}
|
||||
<div/>
|
||||
</footer>
|
|
@ -1,24 +1,9 @@
|
|||
---
|
||||
socials:
|
||||
- name: Twitter
|
||||
url: https://twitter.com/fangmrks
|
||||
- name: Bluesky
|
||||
url: https://pogcha.mp
|
||||
- name: Mastodon
|
||||
url: https://lio.to/mastodon
|
||||
- name: Forge
|
||||
url: https://git.lio.cat/l
|
||||
- name: Github
|
||||
url: https://github.com/fangmarks
|
||||
|
||||
---
|
||||
|
||||
|
||||
{{for social of socials}}
|
||||
<a href="{{social.url}}" target="_blank" class="social-icon">
|
||||
{{social.name}}
|
||||
</a>
|
||||
{{/for}}
|
||||
|
||||
|
||||
{{# {{> console.log(socials) }} #}}
|
||||
{{# <ul class="fancy-container"> #}}
|
||||
<ul>
|
||||
{{for social of socials}}
|
||||
{{comp.Link({
|
||||
name: social.name,
|
||||
url: social.url,
|
||||
})}}
|
||||
{{/for}}
|
||||
</ul>
|
|
@ -1,7 +1,17 @@
|
|||
---
|
||||
layout: layouts/landing.vento
|
||||
includeSocials: true
|
||||
title: Home
|
||||
includeSocials: false
|
||||
templateEngine: [vento, md]
|
||||
---
|
||||
|
||||
# {{greeting()}}
|
||||
# hi, i'm lio
|
||||
|
||||
_(they/them)_
|
||||
|
||||
**welcome to my corner of the internet** \
|
||||
**21y/o digital sorcerer and pixel wizard from germany**
|
||||
|
||||
### projects
|
||||
|
||||
- [yiff](https://lio.to/yiff)
|
||||
|
|
96
_src/styles.css
Normal file
96
_src/styles.css
Normal file
|
@ -0,0 +1,96 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
.ccontainer {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/*
|
||||
.fancy-container {
|
||||
text-align: center;
|
||||
} */
|
||||
|
||||
a {
|
||||
color: black;
|
||||
transition: color 0.1s, background-color 0.1s;
|
||||
background-color: orange;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
/* padding: 0.01rem 0.01rem; */
|
||||
margin: 0 0.3rem;
|
||||
/* line-height: 1.7; */
|
||||
/* white-space: nowrap; */
|
||||
}
|
||||
a:hover {
|
||||
color: #2563eb;
|
||||
background-color: #3b82f633;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
line-height: 1.25;
|
||||
margin: 1.5rem 0 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
/* font-family: Playfair, serif; */
|
||||
font-weight: 900;
|
||||
font-size: 5em;
|
||||
font-feature-settings: "lnum" 1;
|
||||
font-variation-settings: "opsz" 35;
|
||||
line-height: 1;
|
||||
margin: 1.5rem 0 1rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
/* font-family: Playfair, serif; */
|
||||
font-weight: 900;
|
||||
font-size: 2.5em;
|
||||
font-feature-settings: "lnum" 1;
|
||||
font-variation-settings: "opsz" 20;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 700;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 600;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-weight: 600;
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-weight: 600;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: "IBM Plex Mono", monospace;
|
||||
}
|
||||
|
||||
.margin-even {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.margin-none {
|
||||
margin: 0;
|
||||
}
|
1
_src/wk
Submodule
1
_src/wk
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 426e338250f3f03f5a2f516dc9ff436207e02f89
|
10
deno.json
10
deno.json
|
@ -9,10 +9,18 @@
|
|||
},
|
||||
"tasks": {
|
||||
"lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable -A --allow-read -",
|
||||
"build": "deno task lume",
|
||||
"build": "deno task lume && rm -rf _site/.well-known/.git",
|
||||
"serve": "deno task lume -s"
|
||||
},
|
||||
"imports": {
|
||||
"lume/": "https://deno.land/x/lume@v2.0.2/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "npm:react",
|
||||
"types": [
|
||||
"lume/types.ts",
|
||||
"https://unpkg.com/@types/react@18.2.37/index.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
15
deno.lock
generated
15
deno.lock
generated
|
@ -27,6 +27,7 @@
|
|||
"npm:remark-gfm@4.0.0": "npm:remark-gfm@4.0.0",
|
||||
"npm:remark-parse@11.0.0": "npm:remark-parse@11.0.0",
|
||||
"npm:remark-rehype@11.0.0": "npm:remark-rehype@11.0.0",
|
||||
"npm:sass@1.69.6": "npm:sass@1.69.6",
|
||||
"npm:sharp@0.33.1": "npm:sharp@0.33.1",
|
||||
"npm:tailwindcss@3.4.0": "npm:tailwindcss@3.4.0_postcss@8.4.32",
|
||||
"npm:terser@5.26.0": "npm:terser@5.26.0",
|
||||
|
@ -966,6 +967,10 @@
|
|||
"integrity": "sha512-ZdLU38ZoED3g1j3iEyzcQj+wAkY2xfWNkymszfJPoxucIUhK7NayQ+/C4Kv0nDFMIsbtbEHldv3V8PU494/ueQ==",
|
||||
"dependencies": {}
|
||||
},
|
||||
"immutable@4.3.4": {
|
||||
"integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==",
|
||||
"dependencies": {}
|
||||
},
|
||||
"inline-style-parser@0.1.1": {
|
||||
"integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==",
|
||||
"dependencies": {}
|
||||
|
@ -2076,6 +2081,14 @@
|
|||
"queue-microtask": "queue-microtask@1.2.3"
|
||||
}
|
||||
},
|
||||
"sass@1.69.6": {
|
||||
"integrity": "sha512-qbRr3k9JGHWXCvZU77SD2OTwUlC+gNT+61JOLcmLm+XqH4h/5D+p4IIsxvpkB89S9AwJOyb5+rWNpIucaFxSFQ==",
|
||||
"dependencies": {
|
||||
"chokidar": "chokidar@3.5.3",
|
||||
"immutable": "immutable@4.3.4",
|
||||
"source-map-js": "source-map-js@1.0.2"
|
||||
}
|
||||
},
|
||||
"scheduler@0.23.0": {
|
||||
"integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
|
||||
"dependencies": {
|
||||
|
@ -2831,6 +2844,7 @@
|
|||
"https://deno.land/x/lume@v2.0.2/deps/pug.ts": "8d96900c68e67068b9c9aa19a5110a7fec3330db8e938cfc9b8c0bb2bb99c38b",
|
||||
"https://deno.land/x/lume@v2.0.2/deps/react.ts": "beeba2c0ee51c4dd9ce4ad581767c4eae9c5c99611a3b8964271ef98f59849cd",
|
||||
"https://deno.land/x/lume@v2.0.2/deps/remark.ts": "0612c684bb0f5c374cdeae1e9a0b00c785da9b643a9f673a319f0b09b1ee5d0d",
|
||||
"https://deno.land/x/lume@v2.0.2/deps/sass.ts": "5e72c16e390cc226d965fad12db00ea0e91283390d08211d4a7d4992bace9653",
|
||||
"https://deno.land/x/lume@v2.0.2/deps/sharp.ts": "ac0298ba5cf0692adc834688c2b8d8f554ed860bf59932145873a5bb64b82bc0",
|
||||
"https://deno.land/x/lume@v2.0.2/deps/tailwindcss.ts": "07e01271cef11d9fea25656e358c18871e043014b88e1c1c102e00ea2330d01b",
|
||||
"https://deno.land/x/lume@v2.0.2/deps/temporal.ts": "1958b134c4186b0ab39316fa33ba19d1a4203e2ea445080429d60d296b91a552",
|
||||
|
@ -2863,6 +2877,7 @@
|
|||
"https://deno.land/x/lume@v2.0.2/plugins/postcss.ts": "11236b7d9078601728ce1236fc77b4c89881aab0d3bbe1a30ff862784f30f37e",
|
||||
"https://deno.land/x/lume@v2.0.2/plugins/pug.ts": "8ec3c28776bef4b8501d9565c605a21e1bbee06b42f77a6c63624a60a57a6038",
|
||||
"https://deno.land/x/lume@v2.0.2/plugins/reading_info.ts": "74fd91be32099c8f9af2822731ef9036554bcd31a164c99c084de0300b468c8c",
|
||||
"https://deno.land/x/lume@v2.0.2/plugins/sass.ts": "18f581816c99f6b187535f9cf069ce7a716c7114be422bdbc124c133bc71512b",
|
||||
"https://deno.land/x/lume@v2.0.2/plugins/search.ts": "8ec3a8f082b8ff1532bbe8f8bf76dfaa2d0feab7c2ec5c824d0ccc044c26f640",
|
||||
"https://deno.land/x/lume@v2.0.2/plugins/source_maps.ts": "2fb5a23d22768a92e04c6feefe2c704dd8d970780a90d0e069f784353f5c545f",
|
||||
"https://deno.land/x/lume@v2.0.2/plugins/tailwindcss.ts": "d03569451c17ce8604a9ec5900b9feb9098523cae4dfe3a6404255c5203e7604",
|
||||
|
|
Loading…
Add table
Reference in a new issue