| Port fzakaria.com design to Hugo and add a homepage profile 1bdbd06 Romain Gautier 21h ago | 1 | {{- $signal := partial "signal.html" .RelPermalink -}} |
| 2 | <header class="masthead column rise"> |
| 3 | <p class="masthead__title"><a href="{{ "/" | relURL }}">{{ site.Title }}</a></p> |
| 4 | {{- if and .IsHome site.Params.profile }} |
| 5 | <a class="masthead__about" href="#about">About</a> |
| 6 | {{- end }} |
| 7 | <div |
| 8 | class="masthead__signal" |
| 9 | aria-hidden="true" |
| 10 | title="sha256 of this page's URL, drawn — {{ $signal.hash }}" |
| 11 | > |
| 12 | <svg viewBox="0 0 1000 100" preserveAspectRatio="none" focusable="false"> |
| 13 | <defs> |
| 14 | <linearGradient id="signal-ramp" x1="0" y1="0" x2="1" y2="0"> |
| 15 | <stop class="signal-ramp__lead" offset="0" /> |
| 16 | <stop class="signal-ramp__body" offset="0.24" /> |
| 17 | <stop class="signal-ramp__tail" offset="1" /> |
| 18 | </linearGradient> |
| 19 | </defs> |
| 20 | <path d="{{ $signal.path }}" pathLength="100" /> |
| 21 | </svg> |
| 22 | </div> |
| 23 | </header> |