Skip to content

Commit

Permalink
Home button added, navigation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
YueSteveYin committed Jul 25, 2024
1 parent 08ae175 commit 53f9429
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions content/relevantCourses/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
+++
title = "Scientists listed by relevant relevantCourses"
linktitle = "relevantCourses"
title = "Scientists listed by Relevant Courses"
linktitle = "Relevant Courses"
+++
4 changes: 2 additions & 2 deletions content/researchAreas/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
+++
title = "Scientists listed by researchAreas"
linktitle = "researchAreas"
title = "Scientists listed by Research Areas"
linktitle = "Research Areas"
+++
20 changes: 5 additions & 15 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,13 @@
<section class="p-8">
<div class="mx-auto max-w-screen-md">
<h1 class="text-right text-lg leading-tight">
{{ with .Parent }}
<a class="text-blue duration-500 hover:text-blue-darker" href="/"
>Home</a
>
<a class="text-blue duration-500 hover:text-blue-darker" href="/">Home</a>
<span class="text-g-5">»</span>
{{ if .Parent }}
<a class="text-blue duration-500 hover:text-blue-darker" href="{{ .Parent.Permalink }}">{{ .Parent.LinkTitle }}</a>
<span class="text-g-5">»</span>
{{ if ne . site.Home }}
<a
class="text-blue duration-500 hover:text-blue-darker"
href="/#by-{{ .RelPermalink | anchorize }}"
>{{ .LinkTitle }}</a
>
<span class="text-g-5">»</span>
{{ end }}
{{ end }}
<span class="font-bold">
{{ .Title }}
</span>
<span class="font-bold">{{ .Title }}</span>
</h1>

<ul class="mt-6">
Expand Down
10 changes: 10 additions & 0 deletions layouts/partials/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ <h2 class="text-g-9">
}}
</div>
</div>
<div class="mt-2">
<div class="grid items-end gap-4 md:grid-cols-2">
<a href="/researchAreas" class="btn text-black py-2 px-4 rounded hover:shadow-lg border-2 border-g-5">
Research Area List
</a>
<a href="/relevantCourses" class="btn text-black py-2 px-4 rounded hover:shadow-lg border-2 border-g-5">
Relevant Courses List
</a>
</div>
</div>
<p class="mt-1 text-g-7" x-text="resultsText"></p>
<p x-cloak x-show="error" class="mt-2">
<span class="italic"> Something went wrong: </span>
Expand Down

0 comments on commit 53f9429

Please sign in to comment.