Improve links avoiding brands

This commit is contained in:
Igor Támara 2025-10-21 19:04:32 -05:00 committed by CJ van den Berg
parent 5be5f003c8
commit cdf398681e
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 12 additions and 5 deletions

View file

@ -4,7 +4,8 @@
.author = "Igor Támara", .author = "Igor Támara",
.layout = "tutorial.shtml", .layout = "tutorial.shtml",
.draft = false, .draft = false,
.custom = { .githubedit = "https://github.com/neurocyte/flow-website/tree/master/content/docs/architecture.smd", .custom = {
.githubedit = "/docs/architecture.smd",
.prevurl = "https://github.com/neurocyte/flow", .prevurl = "https://github.com/neurocyte/flow",
.prevtext = "Code", .prevtext = "Code",
.nexturl = "/docs/contributing", .nexturl = "/docs/contributing",

View file

@ -4,7 +4,8 @@
.author = "Igor Támara", .author = "Igor Támara",
.layout = "tutorial.shtml", .layout = "tutorial.shtml",
.draft = false, .draft = false,
.custom = { .githubedit = "https://github.com/neurocyte/flow-website/tree/master/content/docs/contributing.smd", .custom = {
.githubedit = "/docs/contributing.smd",
.nexturl = "/docs/testing", .nexturl = "/docs/testing",
.nexttext = "Testing", .nexttext = "Testing",
.topurl = "/docs/", .topurl = "/docs/",

View file

@ -5,7 +5,7 @@
.layout = "tutorial.shtml", .layout = "tutorial.shtml",
.draft = false, .draft = false,
.custom = { .custom = {
.githubedit = "https://github.com/neurocyte/flow-website/tree/master/content/docs/testing.md", .githubedit = "/docs/testing.md",
.prevurl = "/docs/contributing", .prevurl = "/docs/contributing",
.prevtext = "Contributing", .prevtext = "Contributing",
.topurl = "/docs/architecture", .topurl = "/docs/architecture",

View file

@ -25,10 +25,15 @@
<nav id="menu" class="nav"> <nav id="menu" class="nav">
<ctx about="$site.page('')">🗃 <a href="$ctx.about.link()">home</a></ctx> <ctx about="$site.page('')">🗃 <a href="$ctx.about.link()">home</a></ctx>
<ctx :if="$site.page('devlog').subpages().first?()">🖆 <a href="$if.link()">devlog</a></ctx> <ctx :if="$site.page('devlog').subpages().first?()">🖆 <a href="$if.link()">devlog</a></ctx>
<ctx about="$site.page('community')">🗣 <a href="https://discord.com/invite/4wvteUPphx">discord</a></ctx> <ctx about="$site.page('community')">🗣 <a href="https://discord.com/invite/4wvteUPphx">join</a></ctx>
<ctx :if="$page.custom.get?('codepath')">🍴 <a href="$page.custom.get('codepath').prefix('https://github.com/neurocyte/flow/tree/master/')">code</a></ctx> <ctx :if="$page.custom.get?('codepath')">🍴 <a href="$page.custom.get('codepath').prefix('https://github.com/neurocyte/flow/tree/master/')">code</a></ctx>
<ctx :if="$page.custom.has('codepath').not()">🍴 <a href="https://github.com/neurocyte/flow">code</a></ctx> <ctx :if="$page.custom.has('codepath').not()">🍴 <a href="https://github.com/neurocyte/flow">code</a></ctx>
<ctx about="$site.page('community')">✎ <a href="$page.custom.getOr('githubedit', 'https://github.com/neurocyte/flow-website/')">fix</a></ctx>
<ctx :if="$page.custom.has('githubedit')">
<a href="$page.custom.get('githubedit').prefix('https://github.com/neurocyte/flow-website/tree/master/content')">fix</a>
</ctx><ctx :if="$page.custom.has('githubedit').not()">
<a href="$page.custom.getOr('githubedit', 'https://github.com/neurocyte/flow-website/')">fix</a>
</ctx>
</nav> </nav>
</div> </div>
</body> </body>