diff options
| author | Kevin Decherf <kevin@kdecherf.com> | 2021-07-28 18:48:48 +0200 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-08-14 19:22:54 +0530 |
| commit | 1458d8de67dde186bddd6b593eb84ed8ceb6bef9 (patch) | |
| tree | 8f31d6d74608461cd2e3018fdfa7c5464214f3fc /layouts | |
| parent | e44cef81c6fc40606ea5761334ba2078f8dd3ccc (diff) | |
Add social icon for Matrix
Source: https://simpleicons.org
Fixes #450
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/svg.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 4208296..2ea1e6b 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -269,6 +269,11 @@ d="M17.832 8.633v5h-1.978V8.78c0-1.023-.43-1.542-1.29-1.542-.95 0-1.427.616-1.427 1.834v2.655H11.17V9.072c0-1.218-.476-1.834-1.427-1.834-.86 0-1.29.52-1.29 1.542v4.852H6.475V8.633c0-1.022.26-1.834.782-2.434.538-.6 1.243-.909 2.118-.909 1.012 0 1.779.39 2.286 1.169l.492.827.493-.827c.507-.78 1.274-1.169 2.286-1.169.875 0 1.58.308 2.118.909.522.6.782 1.412.782 2.434" fill="currentColor" stroke="none" /> </svg> +{{- else if (eq $icon_name "matrix") -}} +<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"> + <path + d="M.632.55v22.9H2.28V24H0V0h2.28v.55zm7.043 7.26v1.157h.033c.309-.443.683-.784 1.117-1.024.433-.245.936-.365 1.5-.365.54 0 1.033.107 1.481.314.448.208.785.582 1.02 1.108.254-.374.6-.706 1.034-.992.434-.287.95-.43 1.546-.43.453 0 .872.056 1.26.167.388.11.716.286.993.53.276.245.489.559.646.951.152.392.23.863.23 1.417v5.728h-2.349V11.52c0-.286-.01-.559-.032-.812a1.755 1.755 0 0 0-.18-.66 1.106 1.106 0 0 0-.438-.448c-.194-.11-.457-.166-.785-.166-.332 0-.6.064-.803.189a1.38 1.38 0 0 0-.48.499 1.946 1.946 0 0 0-.231.696 5.56 5.56 0 0 0-.06.785v4.768h-2.35v-4.8c0-.254-.004-.503-.018-.752a2.074 2.074 0 0 0-.143-.688 1.052 1.052 0 0 0-.415-.503c-.194-.125-.476-.19-.854-.19-.111 0-.259.024-.439.074-.18.051-.36.143-.53.282-.171.138-.319.337-.439.595-.12.259-.18.6-.18 1.02v4.966H5.46V7.81zm15.693 15.64V.55H21.72V0H24v24h-2.28v-.55z"/> +</svg> {{- else if (eq $icon_name "medium") -}} <svg version="1.0" xmlns="http://www.w3.org/2000/svg" fill="currentColor" stroke-width="2" viewBox="0 0 76.000000 76.000000" preserveAspectRatio="xMidYMid meet"> |
