|
47 | 47 |
|
48 | 48 | <body class="m-0 p-0"> |
49 | 49 |
|
50 | | - <header class="text-light" style="background-image: linear-gradient(#20558a, #144474);"> |
| 50 | + <header class="text-light" style="background-color: #144474"> |
51 | 51 | <div class="container limit-width py-3"> |
52 | | - <div class="fs-1">{{ $.Title }}</div> |
53 | | - <div class="fs-5 fw-light">{{ .Param "description" }}</div> |
| 52 | + <div class="fs-1"><a href='/patch/' class="text-light">The Patch Guide</a></div> |
| 53 | + <div class="fs-5 fw-light">A Student's Guide to Patch-Clamp Electrophysiology</div> |
54 | 54 | </div> |
55 | 55 | </header> |
56 | 56 |
|
57 | 57 | {{ if not .IsHome }} |
58 | | - <nav class="border-bottom shadow-bottom shadow-sm" style="background-image: linear-gradient(#f8f9fa, #f2f2f2);"> |
59 | | - <div class="container limit-width py-2"> |
60 | | - <a href="{{ .Site.BaseURL }}"> |
61 | | - The Patch Guide |
62 | | - </a> |
63 | | - |
64 | | - {{ if or .IsSection .IsPage }} |
65 | | - <span>»</span> |
66 | | - <a href="{{ (site.GetPage .Section).Permalink }}"> |
67 | | - {{ (site.GetPage .Section).Title }} |
68 | | - </a> |
69 | | - {{ end }} |
70 | | - |
71 | | - {{ if .IsPage }} |
72 | | - <span>»</span> |
73 | | - <a href='{{ .Permalink }}'> |
74 | | - {{ .Title }} |
75 | | - </a> |
76 | | - {{ end }} |
| 58 | + <div class="container limit-width py-3"> |
| 59 | + <div class="border rounded bg-light px-3 py-2 mt-3"> |
| 60 | + <div class="fs-3 fw-semibold">{{ $.Title }}</div> |
| 61 | + <div class="fs-5">{{ .Param "description" }}</div> |
77 | 62 | </div> |
78 | | - </nav> |
| 63 | + </div> |
79 | 64 | {{ end }} |
80 | 65 |
|
81 | 66 | <main class="bg-white"> |
|
87 | 72 | </div> |
88 | 73 | </main> |
89 | 74 |
|
90 | | - <footer class="py-4 border-top bg-light"> |
91 | | - <div class="container limit-width text-end"> |
92 | | - |
93 | | - <div class="d-flex justify-content-between"> |
94 | | - |
95 | | - <div class="text-start text-muted"> |
96 | | - <div> |
97 | | - Copyright {{ now.Format "2006" }} <a href='https://github.com/swharden' class="text-dark">@swharden</a> |
98 | | - </div> |
99 | | - <div> |
100 | | - Built with Hugo {{ .Site.Hugo.Version }} |
101 | | - </div> |
102 | | - <div> |
103 | | - {{ time now | time.Format ":date_long" }} |
104 | | - at {{ time now "America/New_York" | time.Format ":time_short" }} EST |
105 | | - </div> |
106 | | - </div> |
107 | | - |
108 | | - <div> |
109 | | - <a href="https://github.com/swharden/patch"> |
110 | | - <img class="github-edit-button" src="/patch/img/github-edit.svg" /> |
111 | | - </a> |
112 | | - </div> |
| 75 | + <footer class="pb-5"> |
| 76 | + <div class="container limit-width"> |
| 77 | + |
| 78 | + <hr class="mb-4" /> |
| 79 | + |
| 80 | + {{ if .NextInSection }} |
| 81 | + <div> |
| 82 | + Next Article: |
| 83 | + <a href="{{.NextInSection.Permalink}}"> |
| 84 | + {{.NextInSection.Title}} |
| 85 | + </a> |
| 86 | + </div> |
| 87 | + {{ end }} |
| 88 | + |
| 89 | + {{ if .PrevInSection }} |
| 90 | + <div>Previous Article: |
| 91 | + <a href="{{.PrevInSection.Permalink}}"> |
| 92 | + {{.PrevInSection.Title}} |
| 93 | + </a> |
| 94 | + </div> |
| 95 | + {{ end }} |
| 96 | + |
| 97 | + <div> |
| 98 | + Copyright © {{ now.Format "2006" }} |
| 99 | + <a href='https://swharden.com/about'>Scott W Harden</a> |
| 100 | + </div> |
| 101 | + |
| 102 | + <div> |
| 103 | + Built {{ time now | time.Format ":date_long" }} |
| 104 | + at {{ time now "America/New_York" | time.Format ":time_short" }} |
| 105 | + with <a href='https://gohugo.io/'>Hugo {{ .Site.Hugo.Version }}</a> |
| 106 | + </div> |
| 107 | + |
| 108 | + <div> |
| 109 | + <a href="https://github.com/swharden/patch"> |
| 110 | + Edit this page |
| 111 | + </a> on GitHub |
113 | 112 | </div> |
114 | 113 |
|
115 | | - </div> |
116 | 114 | </footer> |
117 | 115 |
|
118 | 116 | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js" |
|
0 commit comments