Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Remove links for snippets/boilerplates that don't have demos #305

Closed
exvuma opened this issue Jul 29, 2019 · 0 comments · Fixed by #290
Closed

Remove links for snippets/boilerplates that don't have demos #305

exvuma opened this issue Jul 29, 2019 · 0 comments · Fixed by #290
Assignees
Labels
tech Implementation details around framework, deployment
Milestone

Comments

@exvuma
Copy link
Contributor

exvuma commented Jul 29, 2019

The logic for the layout should be changed to some sort of else if

    {{ if (range.demos) }}
    <a class="demo" href="{{.url}}">{{.text}}</a>
    {{ else if (isset .demo_url) }}
    <a class="demo" href="{{.demo_url}}">Demo</a>
    {{else}}
    {{ end }}
@exvuma exvuma added this to the July 2019 milestone Jul 29, 2019
@exvuma exvuma added the tech Implementation details around framework, deployment label Jul 29, 2019
@exvuma exvuma closed this as completed in e5ad0bb Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tech Implementation details around framework, deployment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants