RSS svg icon (#282)
* Add rss icon to social icons * Revert unnecessary asset deployment
This commit is contained in:
parent
8a27cda7f0
commit
624b79e7f6
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"app": {
|
||||
"js": "js/app.3fc0f988d21662902933.js",
|
||||
"css": "css/app.1cb140d8ba31d5b2f1114537dd04802a.css"
|
||||
"css": "css/app.e6e75cdafe2e909dacfabeb26857f994.css"
|
||||
}
|
||||
}
|
|
@ -29,6 +29,7 @@ enableRobotsTXT = true
|
|||
mastodon = ""
|
||||
slack = ""
|
||||
stackoverflow = ""
|
||||
rss = ""
|
||||
# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
|
||||
background_color_class = "bg-black"
|
||||
featured_image = "/images/gohugo-default-sample-hero-image.jpg"
|
||||
|
|
|
@ -72,3 +72,9 @@
|
|||
{{- partial "new-window-icon.html" . -}}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ with .Param "rss" }}
|
||||
<a href="{{ . }}" target="_blank" class="link-transition rss link dib z-999 pt3 pt0-l mr1" title="RSS link" rel="noopener" aria-label="RSS——Opens in a new window">
|
||||
{{ partial "svg/rss.svg" (dict "size" $icon_size) }}
|
||||
{{- partial "new-window-icon.html" . -}}
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
5
layouts/partials/svg/rss.svg
Normal file
5
layouts/partials/svg/rss.svg
Normal file
|
@ -0,0 +1,5 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" {{ with .size }}height="{{ . }}" width="{{ . }}"{{ end }} viewBox="0 0 24 24">
|
||||
<circle cx="6.18" cy="17.82" r="2.18"/>
|
||||
<path id="scale" d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 344 B |
|
@ -1,4 +1,4 @@
|
|||
.facebook, .twitter, .instagram, .youtube, .github, .gitlab, .keybase, .linkedin, .medium, .mastodon, .slack, .stackoverflow {
|
||||
.facebook, .twitter, .instagram, .youtube, .github, .gitlab, .keybase, .linkedin, .medium, .mastodon, .slack, .stackoverflow, .rss {
|
||||
fill: #BABABA;
|
||||
}
|
||||
|
||||
|
@ -58,3 +58,7 @@
|
|||
.stackoverflow:hover {
|
||||
fill: #f48024;
|
||||
}
|
||||
|
||||
.rss:hover{
|
||||
fill: #ff6f1a;
|
||||
}
|
||||
|
|
5872
static/dist/css/app.e6e75cdafe2e909dacfabeb26857f994.css
vendored
Normal file
5872
static/dist/css/app.e6e75cdafe2e909dacfabeb26857f994.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue