mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +00:00
About info and some improvements to styles and markup
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
@@ -17,15 +17,17 @@
|
||||
<p>These are articles about things I learned about software engineering.</p>
|
||||
{{ end }}
|
||||
|
||||
<section id="tags">
|
||||
{{ range .Site.Taxonomies.tags }}
|
||||
<a class="{{ if (eq $currentTitle .Page.Title) }}selected{{ end }}"
|
||||
href="{{ .Page.Permalink }}"
|
||||
>
|
||||
{{ .Page.Title }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ if gt (len .Site.Taxonomies.tags) 0 }}
|
||||
<section id="tags">
|
||||
{{ range .Site.Taxonomies.tags }}
|
||||
<a class="{{ if (eq $currentTitle .Page.Title) }}selected{{ end }}"
|
||||
href="{{ .Page.Permalink }}"
|
||||
>
|
||||
{{ .Page.Title }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if gt .Paginator.TotalPages 0 }}
|
||||
|
||||
Reference in New Issue
Block a user