Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit 3003111

Browse files
committed
Update docs and hugo params
1 parent a8634ea commit 3003111

40 files changed

Lines changed: 1371 additions & 289 deletions

docs/config.yml

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/
2+
13
baseURL: 'https://docs.lanyards.app/'
24
title: Lanyards
35
theme: PaperMod
@@ -29,47 +31,51 @@ menu:
2931
weight: 5
3032

3133
params:
32-
description: 'One link to make your research life easier to share! Papers, talks, affiliations, socials, whatever... Easy, free, decentralised. A dedicated profile for researchers, built on the AT Protocol.'
33-
author: Lanyards
34+
# defaultTheme: dark
35+
# defaultTheme: light
36+
author: '@renderg.host'
37+
comments: true
3438
DateFormat: 'January 2006'
35-
defaultTheme: light
36-
hideFooter: false
37-
disableThemeToggle: false
38-
ShowShareButtons: false
39-
ShowReadingTime: true
40-
disableSpecialistPost: false
39+
defaultTheme: auto
40+
description: 'One link to make your research life easier to share! Papers, talks, affiliations, socials, whatever... Easy, free, decentralised. A dedicated profile for researchers, built on the AT Protocol.'
4141
disableAnchoredHeadings: false
42-
ShowPostNavLinks: true
42+
disableScrollToTop: false
43+
disableSpecialistPost: false
44+
disableThemeToggle: false
45+
hideFooter: false
46+
MainSections: ['documentation']
47+
ShowAllPagesInArchive: true
4348
ShowBreadCrumbs: true
4449
ShowCodeCopyButtons: true
45-
ShowAllPagesInArchive: true
46-
MainSections: ['documentation']
47-
ShowToc: true
48-
disableScrollToTop: false
49-
TocOpen: true
50+
ShowPostNavLinks: true
51+
ShowReadingTime: true
52+
ShowShareButtons: false
53+
ShowToc: false
5054
ShowWordCount: true
55+
TocOpen: false
5156
UseHugoToc: true
52-
comments: true
5357
math: false
58+
# homeInfoParams:
59+
# Title: Hi there wave
60+
# Content: Can be Info, links, about...
5461
profileMode:
5562
enabled: true
56-
title: Lanyards Documentation
63+
title: Welcome to Lanyards
5764
subtitle: 'One link to make your research life easier to share! Papers, talks, affiliations, socials, whatever... Easy, free, decentralised. A dedicated profile for researchers, built on the AT Protocol.'
58-
imageUrl: ''
59-
imageWidth: 160
60-
imageHeight: 160
65+
imageUrl: '/apple-touch-icon.png'
66+
imageWidth: 90
67+
imageHeight: 90
6168
buttons:
62-
- name: What is Lanyards?
69+
- name: What?
6370
url: /what-is-lanyards/
64-
- name: Why Lanyards?
71+
- name: Why?
6572
url: /why-lanyards/
6673
- name: Contribute
6774
url: /contribute/
6875
- name: Roadmap
6976
url: /roadmap/
7077
- name: Contact
7178
url: /links/
72-
7379
socialIcons:
7480
- name: GitHub
7581
url: https://github.com/renderghost/lanyards
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ description: "What we're building now and next in Lanyards"
44
url: /roadmap/
55
---
66

7-
> [!NOTE]
8-
> This document is under development
9-
10-
> [!TIP]
11-
> This document is under development
7+
> This page is under development
128
139
## Account Creation
1410

docs/content/what/cover.png

56.2 KB
Loading
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
title: "What is Lanyards?"
33
description: "An introduction to Lanyards - digital business cards for researchers"
44
url: /what-is-lanyards/
5+
cover:
6+
image: "cover.png"
7+
# can also paste direct link from external site
8+
# ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png
9+
alt: "<alt text>"
10+
caption: "<text>"
11+
relative: true # To use relative path for cover image, used in hugo Page-bundles
512
---
6-
![alt text](../public/cover.png)
13+
![coveralt text](cover.png)
714

815
A single curated link for Academic Researchers that aggregates your complete scholarly presence—publications, talks, affiliations, and social profiles—without re-keying info or juggling multiple scattered accounts.
916

File renamed without changes.

docs/public/404.html

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<!DOCTYPE html>
22
<html lang="en" dir="auto">
33

4-
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=64666&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
4+
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
77
<meta name="robots" content="noindex, nofollow">
88
<title>404: Page not found | Lanyards</title>
99
<meta name="keywords" content="">
1010
<meta name="description" content="One link to make your research life easier to share! Papers, talks, affiliations, socials, whatever... Easy, free, decentralised. A dedicated profile for researchers, built on the AT Protocol.">
11-
<meta name="author" content="Lanyards">
12-
<link rel="canonical" href="http://localhost:64666/404.html">
11+
<meta name="author" content="@renderg.host">
12+
<link rel="canonical" href="http://localhost:1313/404.html">
1313
<link crossorigin="anonymous" href="/assets/css/stylesheet.ac30954b7ea20660ca1cb473400ecede9e601f17674446536180d3ca00f03328.css" integrity="sha256-rDCVS36iBmDKHLRzQA7O3p5gHxdnREZTYYDTygDwMyg=" rel="preload stylesheet" as="style">
14-
<link rel="icon" href="http://localhost:64666/favicon.ico">
15-
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:64666/favicon-16x16.png">
16-
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:64666/favicon-32x32.png">
17-
<link rel="apple-touch-icon" href="http://localhost:64666/apple-touch-icon.png">
14+
<link rel="icon" href="http://localhost:1313/favicon.ico">
15+
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
16+
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
17+
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
1818
<meta name="theme-color" content="#2e2e33">
1919
<meta name="msapplication-TileColor" content="#2e2e33">
20-
<link rel="alternate" hreflang="en" href="http://localhost:64666/404.html">
20+
<link rel="alternate" hreflang="en" href="http://localhost:1313/404.html">
2121
<noscript>
2222
<style>
2323
#theme-toggle,
@@ -26,7 +26,35 @@
2626
}
2727

2828
</style>
29-
</noscript><meta property="og:url" content="http://localhost:64666/404.html">
29+
<style>
30+
@media (prefers-color-scheme: dark) {
31+
:root {
32+
--theme: rgb(29, 30, 32);
33+
--entry: rgb(46, 46, 51);
34+
--primary: rgb(218, 218, 219);
35+
--secondary: rgb(155, 156, 157);
36+
--tertiary: rgb(65, 66, 68);
37+
--content: rgb(196, 196, 197);
38+
--code-block-bg: rgb(46, 46, 51);
39+
--code-bg: rgb(55, 56, 62);
40+
--border: rgb(51, 51, 51);
41+
}
42+
43+
.list {
44+
background: var(--theme);
45+
}
46+
47+
.list:not(.dark)::-webkit-scrollbar-track {
48+
background: 0 0;
49+
}
50+
51+
.list:not(.dark)::-webkit-scrollbar-thumb {
52+
border-color: var(--theme);
53+
}
54+
}
55+
56+
</style>
57+
</noscript><meta property="og:url" content="http://localhost:1313/404.html">
3058
<meta property="og:site_name" content="Lanyards">
3159
<meta property="og:title" content="404 Page not found">
3260
<meta property="og:description" content="One link to make your research life easier to share! Papers, talks, affiliations, socials, whatever... Easy, free, decentralised. A dedicated profile for researchers, built on the AT Protocol.">
@@ -48,15 +76,19 @@
4876
<script>
4977
if (localStorage.getItem("pref-theme") === "dark") {
5078
document.body.classList.add('dark');
79+
} else if (localStorage.getItem("pref-theme") === "light") {
80+
document.body.classList.remove('dark')
81+
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
82+
document.body.classList.add('dark');
5183
}
5284

5385
</script>
5486

5587
<header class="header">
5688
<nav class="nav">
5789
<div class="logo">
58-
<a href="http://localhost:64666/" accesskey="h" title="Lanyards">
59-
<img src="http://localhost:64666/favicon.ico" alt="" aria-label="logo"
90+
<a href="http://localhost:1313/" accesskey="h" title="Lanyards">
91+
<img src="http://localhost:1313/favicon.ico" alt="" aria-label="logo"
6092
height="18"
6193
width="18">Lanyards</a>
6294
<div class="logo-switches">
@@ -84,27 +116,27 @@
84116
</div>
85117
<ul id="menu">
86118
<li>
87-
<a href="http://localhost:64666/what-is-lanyards/" title="What is Lanyards?">
119+
<a href="http://localhost:1313/what-is-lanyards/" title="What is Lanyards?">
88120
<span>What is Lanyards?</span>
89121
</a>
90122
</li>
91123
<li>
92-
<a href="http://localhost:64666/why-lanyards/" title="Why Lanyards?">
124+
<a href="http://localhost:1313/why-lanyards/" title="Why Lanyards?">
93125
<span>Why Lanyards?</span>
94126
</a>
95127
</li>
96128
<li>
97-
<a href="http://localhost:64666/contribute/" title="Contribute">
129+
<a href="http://localhost:1313/contribute/" title="Contribute">
98130
<span>Contribute</span>
99131
</a>
100132
</li>
101133
<li>
102-
<a href="http://localhost:64666/roadmap/" title="Roadmap">
134+
<a href="http://localhost:1313/roadmap/" title="Roadmap">
103135
<span>Roadmap</span>
104136
</a>
105137
</li>
106138
<li>
107-
<a href="http://localhost:64666/links/" title="Contact">
139+
<a href="http://localhost:1313/links/" title="Contact">
108140
<span>Contact</span>
109141
</a>
110142
</li>

docs/public/apple-touch-icon.png

2.49 KB
Loading

0 commit comments

Comments
 (0)