mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-28 09:35:40 -04:00
add /api/projects endpoint and /projects page with GH-style repo cards
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<div class="layout layout-projects">
|
||||
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
|
||||
<div id="content">
|
||||
<div id="github-cards"></div>
|
||||
|
||||
<p><a href="https://github.com/jakejarvis?tab=repositories" target="_blank" rel="noopener">View more on GitHub...</a></p>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -18,9 +18,11 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if eq hugo.Environment "production" }}
|
||||
<div id="meta-hits" style="display: none;">
|
||||
👀 <div id="hit-spinner" class="spinner"><div class="spin-bounce1"></div><div class="spin-bounce2"></div><div class="spin-bounce3"></div></div><span id="hit-counter"></span>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<h1 class="title"><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
|
||||
Reference in New Issue
Block a user