diff options
author | He Yeshuang <yeshuanghe@gmail.com> | 2020-06-30 13:51:48 +0300 |
---|---|---|
committer | He Yeshuang <yeshuanghe@gmail.com> | 2020-06-30 13:51:48 +0300 |
commit | 6aad580c2e4d71fc3c142046fdfca94d222a74b0 (patch) | |
tree | 7d7a3d5f0b8095c2bb4939addd3a703f8fff7008 | |
parent | 8adc3d974b04322a48c2194b506952ccfc03cff6 (diff) |
add 2 icons for issue #5
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/svg/home-line.svg | 6 | ||||
-rw-r--r-- | layouts/partials/svg/mail-line.svg | 6 |
3 files changed, 13 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7bc1e17..97bcd46 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -59,6 +59,7 @@ weibo="http://example.com/" zhihu="http://example.com/" twitter="http://twitter.com/" gitlab="http://gitlab.com/" +mail="mailto:anon@example.com" youtube="http://youtube.com/" github="http://github.com/" # any icon in layouts/partials/svg can be used by the name without the "-line.svg" diff --git a/layouts/partials/svg/home-line.svg b/layouts/partials/svg/home-line.svg new file mode 100644 index 0000000..933ac89 --- /dev/null +++ b/layouts/partials/svg/home-line.svg @@ -0,0 +1,6 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> + <g> + <path fill="none" d="M0 0h24v24H0z"/> + <path d="M19 21H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1zM6 19h12V9.157l-6-5.454-6 5.454V19zm6-4a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z"/> + </g> +</svg>
\ No newline at end of file diff --git a/layouts/partials/svg/mail-line.svg b/layouts/partials/svg/mail-line.svg new file mode 100644 index 0000000..99feb8e --- /dev/null +++ b/layouts/partials/svg/mail-line.svg @@ -0,0 +1,6 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> + <g> + <path fill="none" d="M0 0h24v24H0z"/> + <path d="M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm17 4.238l-7.928 7.1L4 7.216V19h16V7.238zM4.511 5l7.55 6.662L19.502 5H4.511z"/> + </g> +</svg>
\ No newline at end of file |