Something went wrong. Try again.
A public git mirror
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{{define "content" -}}<header class="page-header"> <h1><span aria-hidden="true">/</span>projects</h1> <p class="meta">Things I've built or projects in development</p></header>
<section class="box heat"> <h2 class="box-head">{{template "icon" "pulse"}}{{.Total}} commits in the last year <span class="activity-stats"> <span>active in <b>{{.ActiveWeeks}}</b> of the last 52 weeks</span> {{- if .Streak}}<span class="streak">{{template "icon" "fire"}}<span><b>{{.Streak}}</b>-week streak</span></span>{{end}} </span> </h2> <div class="heat-body"> <div class="heat-year">{{.Bars}}{{.Heatmap}}</div> <div class="heat-half">{{.BarsHalf}}{{.HeatHalf}}</div> <p class="heat-legend" aria-hidden="true">less <i class="h0"></i><i class="h1"></i><i class="h2"></i><i class="h3"></i><i class="h4"></i> more</p> </div></section>
<div class="section-head"> <h2 class="section-title">Repositories</h2> <a class="section-link" href="/repos/">All {{len .Repos}} repositories →</a></div><div class="repo-grid"> {{- range .Featured}} {{template "repocard" .}} {{- end}}</div>
{{- with .Feed}}<section class="feed" aria-labelledby="feed-title"> <h2 class="section-title" id="feed-title">Activity</h2> <ol class="timeline"> {{- range .}} <li class="tl-item tl--{{.Kind}}"> <time class="tl-time" datetime="{{.When.Format "2006-01-02T15:04:05Z07:00"}}" title="{{.When.Format "2006-01-02 15:04 MST"}}">{{.Stamp}}</time> <span class="tl-who"> {{- if and .Own $.Avatar}}<img class="avatar-sm" src="{{$.Avatar}}" alt="" width="24" height="24">{{else}}<span class="avatar-sm avatar-none">{{template "icon" "user"}}</span>{{end}} <span class="tl-badge">{{if eq .Kind "push"}}{{template "icon" "commit"}}{{else if eq .Kind "created"}}{{template "icon" "repo-new"}}{{else if eq .Kind "release"}}{{template "icon" "tag"}}{{else if eq .Kind "merged"}}{{template "icon" "merge"}}{{else if eq .Kind "issue"}}{{template "icon" "issue"}}{{else}}{{template "icon" "pull"}}{{end}}</span> </span> <div class="tl-main"> <p class="tl-text"><b class="tl-actor">{{.Actor}}</b> {{- if eq .Kind "push"}} pushed {{.Count}} commit{{if ne .Count 1}}s{{end}} to <code class="tl-ref">{{.Branch}}</code> on <a class="tl-repo" href="/{{.Repo}}/">{{.Repo}}</a> {{- else if eq .Kind "created"}} created repository <a class="tl-repo" href="{{.Href}}">{{.Repo}}</a> {{- else if eq .Kind "release"}} published {{if .Pre}}pre-release{{else}}release{{end}} <a class="tl-ref" href="{{.Href}}">{{.Label}}</a> on <a class="tl-repo" href="/{{.Repo}}/">{{.Repo}}</a> {{- else if eq .Kind "issue"}} opened issue <a class="tl-title" href="{{.Href}}">{{or .Title .Label}}</a> on <a class="tl-repo" href="/{{.Repo}}/">{{.Repo}}</a> {{- else}} {{if eq .Kind "merged"}}merged{{else}}opened{{end}} pull <a class="tl-title" href="{{.Href}}">{{or .Title .Label}}</a> on <a class="tl-repo" href="/{{.Repo}}/">{{.Repo}}</a> {{- end}}</p> {{- if .Commits}} <ul class="tl-commits"> {{- range .Commits}} <li>{{if .Href}}<a class="tl-sha" href="{{.Href}}">{{.Short}}</a>{{else}}<span class="tl-sha">{{.Short}}</span>{{end}}{{if .Verified}}<span class="tl-sig" title="Verified signature">{{template "icon" "lock"}}<span class="sr-only">Verified signature</span></span>{{end}}<span class="tl-subject">{{.Subject}}</span></li> {{- end}} <li class="tl-foot">{{with .More}}<span class="tl-chip">+{{.}} more</span>{{end}}<a class="tl-link" href="{{.Href}}">Commits →</a></li> </ul> {{- end}} </div> </li> {{- end}} </ol></section>{{- end}}{{- end}}