diff options
-rw-r--r-- | exampleSite/content/projects/proj1.md | 2 | ||||
-rw-r--r-- | layouts/partials/projects/projects.html | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/exampleSite/content/projects/proj1.md b/exampleSite/content/projects/proj1.md index f0b8759..1ce3d59 100644 --- a/exampleSite/content/projects/proj1.md +++ b/exampleSite/content/projects/proj1.md @@ -5,6 +5,8 @@ date: "2018-05-18" links: website: 'https://github.com/hadisinaee/avicenna' + alias: link_name_here + --- [See the wiki page for tutorial!](https://github.com/hadisinaee/avicenna/wiki)
\ No newline at end of file diff --git a/layouts/partials/projects/projects.html b/layouts/partials/projects/projects.html index 7cc04a5..5711eeb 100644 --- a/layouts/partials/projects/projects.html +++ b/layouts/partials/projects/projects.html @@ -18,7 +18,10 @@ {{ if $links }} <div class="section-2 w-100"> {{ if $links.website }} - <a class="main_color text-decoration-none rounded " href="{{$links.git}}" target="_blank">website</a> + <a class="main_color text-decoration-none rounded " href="{{$links.website}}" target="_blank"> + {{if $links.alias}} {{$links.alias}} {{else}} website {{end}} + + </a> {{end}} </div> {{end}} |