Improve links avoiding brands
This commit is contained in:
parent
5be5f003c8
commit
cdf398681e
4 changed files with 12 additions and 5 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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/",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue