Skip to content

Commit

Permalink
Add flickr icon
Browse files Browse the repository at this point in the history
  • Loading branch information
tomap committed Oct 10, 2020
1 parent 5fffe47 commit f0b49e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For V1 of this theme, [head over to V1](https://github.com/tomap/hexo-theme-mini
- Standalone (single css file, no external file) 🥊
- Static (no js, one single css) 🍊
- Emoji Icons for blog posts ✨
- SVG for social icons (Twitter, StackOverflow, LinkedIn 📰)
- SVG for social icons (Twitter, StackOverflow, LinkedIn, Flickr 📰)
- Rss Icon (can be disabled)

## External libraries used
Expand Down Expand Up @@ -134,6 +134,10 @@ theme_config:
type: twitter
name: Twitter
account: johndoe
- url: https://www.flickr.com/photos/johndoe/
icon: flickr
type: flickr
name: Flickr
- url: /rss2.xml
icon: rss
type: rss
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-minidyne",
"version": "3.1.0",
"version": "3.2.0",
"description": "Hexo theme minidyne",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions source/css/partial/_icons.styl
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@
.ic-rss
background-image url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19.2 24C19.2 13.5 10.5 4.8 0 4.8V0c13.2 0 24 10.8 24 24h-4.8zm-16-6.6a3.3 3.3 0 110 6.6 3.3 3.3 0 010-6.6zM16 24h-4.7c0-6.2-5-11.2-11.2-11.2V8A16 16 0 0116 24z'/></svg>")

.ic-flickr
background-image url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M0 12a5.6 5.6 0 1011.1 0A5.6 5.6 0 000 12zm12.9 0A5.6 5.6 0 1024 12a5.6 5.6 0 00-11.1 0z'/></svg>")
// end

0 comments on commit f0b49e4

Please sign in to comment.