2022-11-11 15:57:57 -05:00
{% macro read_time(words) %}
< span class = "reading-time" title = "Estimated read time" >
{% if words < 530 % }
1 min read
{% else %}
{{ words / 265 | round }} min read
{% endif %}
< / span >
{% endmacro read_time %}
{% macro footer() %}
< footer id = "site-footer" class = "section-inner thin animated fadeIn faster" >
< p > © {{ now() | date(format="%Y") }} < a href = "{{ config.base_url }}" > {{ config.extra.author.name }}< / a > {{ config.extra.footer_copyright | safe }}< / p >
< p > Made with < a href = "https://www.getzola.org" target = "_blank" rel = "noopener" > Zola< / a > · Theme < a href = "https://github.com/VersBinarii/hermit_zola" target = "_blank" rel = "noopener" > Hermit_Zola< / a >
{% if config.generate_feed %}
· < a href = "{{ get_url(path=config.feed_filename, trailing_slash=false) }}" target = "_blank" title = "rss" > < svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" class = "feather feather-rss" > < path d = "M4 11a9 9 0 0 1 9 9" > < / path > < path d = "M4 4a16 16 0 0 1 16 16" > < / path > < circle cx = "5" cy = "19" r = "1" > < / circle > < / svg > < / a >
{% endif %}
< / p >
< / footer >
{% endmacro footer %}
{% macro render_social_icons() %}
{% for icon in config.extra.hermit_social %}
< a href = "{{ icon.link }}" target = "_blank" rel = "me"
title="{{ icon.name }}">
{% if icon.name == "codepen" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < polygon points = "12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2" > < / polygon > < line x1 = "12" y1 = "22" x2 = "12" y2 = "15.5" > < / line > < polyline points = "22 8.5 12 15.5 2 8.5" > < / polyline > < polyline points = "2 15.5 12 8.5 22 15.5" > < / polyline > < line x1 = "12" y1 = "2" x2 = "12" y2 = "8.5" > < / line > < / svg >
{% elif icon.name == "facebook" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z" > < / path > < / svg >
{% elif icon.name == "github" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22" > < / path > < / svg >
{% elif icon.name == "gitlab" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z" > < / path > < / svg >
{% elif icon.name == "instagram" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < rect x = "2" y = "2" width = "20" height = "20" rx = "5" ry = "5" > < / rect > < path d = "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" > < / path > < line x1 = "17.5" y1 = "6.5" x2 = "17.5" y2 = "6.5" > < / line > < / svg >
{% elif icon.name == "linkedin" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z" > < / path > < rect x = "2" y = "9" width = "4" height = "12" > < / rect > < circle cx = "4" cy = "4" r = "2" > < / circle > < / svg >
{% elif icon.name == "slack" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M22.08 9C19.81 1.41 16.54-.35 9 1.92S-.35 7.46 1.92 15 7.46 24.35 15 22.08 24.35 16.54 22.08 9z" > < / path > < line x1 = "12.57" y1 = "5.99" x2 = "16.15" y2 = "16.39" > < / line > < line x1 = "7.85" y1 = "7.61" x2 = "11.43" y2 = "18.01" > < / line > < line x1 = "16.39" y1 = "7.85" x2 = "5.99" y2 = "11.43" > < / line > < line x1 = "18.01" y1 = "12.57" x2 = "7.61" y2 = "16.15" > < / line > < / svg >
{% elif icon.name == "stackoverflow" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M2.913 16.041v6.848h17.599v-6.848M7.16 18.696h8.925M7.65 13.937l8.675 1.8M9.214 9.124l8.058 3.758M12.086 4.65l6.849 5.66M15.774 1.111l5.313 7.162" / > < / svg >
{% elif icon.name == "telegram" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M21.198 2.433a2.242 2.242 0 0 0-1.022.215l-8.609 3.33c-2.068.8-4.133 1.598-5.724 2.21a405.15 405.15 0 0 1-2.849 1.09c-.42.147-.99.332-1.473.901-.728.968.193 1.798.919 2.286 1.61.516 3.275 1.009 4.654 1.472.509 1.793.997 3.592 1.48 5.388.16.36.506.494.864.498l-.002.018s.281.028.555-.038a2.1 2.1 0 0 0 .933-.517c.345-.324 1.28-1.244 1.811-1.764l3.999 2.952.032.018s.442.311 1.09.355c.324.022.75-.04 1.116-.308.37-.27.613-.702.728-1.196.342-1.492 2.61-12.285 2.997-14.072l-.01.042c.27-1.006.17-1.928-.455-2.474a1.654 1.654 0 0 0-1.034-.407z" / > < / svg >
{% elif icon.name == "twitter" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z" > < / path > < / svg >
2022-11-13 11:42:25 -05:00
{% elif icon.name == "mastodon" %}
< svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 32 32" width = "32px" height = "32px" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M 15.9375 4.03125 C 12.917 4.0435 9.9179219 4.4269844 8.3574219 5.1464844 C 8.3574219 5.1464844 5 6.6748594 5 11.880859 C 5 18.077859 4.9955 25.860234 10.5625 27.365234 C 12.6945 27.938234 14.527953 28.061562 16.001953 27.976562 C 18.676953 27.825562 20 27.005859 20 27.005859 L 19.910156 25.029297 C 19.910156 25.029297 18.176297 25.640313 16.029297 25.570312 C 13.902297 25.495313 11.6615 25.335688 11.3125 22.679688 C 11.2805 22.432688 11.264625 22.182594 11.265625 21.933594 C 15.772625 23.052594 19.615828 22.420969 20.673828 22.292969 C 23.627828 21.933969 26.199344 20.081672 26.527344 18.388672 C 27.041344 15.720672 26.998047 11.880859 26.998047 11.880859 C 26.998047 6.6748594 23.646484 5.1464844 23.646484 5.1464844 C 22.000984 4.3779844 18.958 4.019 15.9375 4.03125 z M 12.705078 8.0019531 C 13.739953 8.0297031 14.762578 8.4927031 15.392578 9.4707031 L 16.001953 10.505859 L 16.609375 9.4707031 C 17.874375 7.5037031 20.709594 7.6264375 22.058594 9.1484375 C 23.302594 10.596438 23.025391 11.531 23.025391 18 L 23.025391 18.001953 L 20.578125 18.001953 L 20.578125 12.373047 C 20.578125 9.7380469 17.21875 9.6362812 17.21875 12.738281 L 17.21875 16 L 14.787109 16 L 14.787109 12.738281 C 14.787109 9.6362812 11.429688 9.7360938 11.429688 12.371094 L 11.429688 18 L 8.9765625 18 C 8.9765625 11.526 8.7043594 10.585438 9.9433594 9.1484375 C 10.622859 8.3824375 11.670203 7.9742031 12.705078 8.0019531 z" / > < / svg >
2022-11-11 15:57:57 -05:00
{% elif icon.name == "youtube" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" > < / path > < polygon points = "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" > < / polygon > < / svg >
{% elif icon.name == "email" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" > < / path > < polyline points = "22,6 12,13 2,6" > < / polyline > < / svg >
{% elif icon.name == "dribbble" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < circle style = "font-variation-settings:normal" cx = "12.004" cy = "12" r = "9.39" paint-order = "stroke fill markers" / > < path style = "font-variation-settings:normal" d = "M5.858 19.136s2.343-5.79 8.161-6.422c5.818-.633 7.442.479 7.442.479M2.68 10.839s4.91.752 10.112-1.11c5.202-1.863 5.887-4.601 5.887-4.601" / > < path style = "font-variation-settings:normal" d = "M8.533 3.208s2.888 2.73 5.339 9.235c2.451 6.505 2.344 8.4 2.344 8.4" / > < / svg >
{% elif icon.name == "behance" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path paint-order = "stroke fill markers" stroke-linejoin = "miter" stroke-width = "2" style = "font-variation-settings:normal" d = "M1.774 18.063V5.466h5.51c1.978 0 3.116 1.326 3.055 2.806-.043 1.049-.711 2.988-2.643 2.988h-5.93H7.73c1.224 0 3.532 1.13 3.532 3.532 0 2.4-1.873 3.27-3.318 3.27zm12.57-4.459h7.89s.012-4.18-4.167-4.18c-5.237 0-5.277 9.11-.3 9.11 3.06 0 3.935-1.806 3.935-1.806M15.526 5.823h4.987" / > < / svg >
{% elif icon.name == "freepik" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M5.737 17.28s3.423.84 7.61.162c4.188-.676 6.862-2.57 6.862-2.57s.28 3.943-4.967 5.33c-5.248 1.388-8.543.657-9.506-2.923zm-.62-3.104s4.491 1.361 8.728.344c4.237-1.016 5.94-2.568 5.94-2.568s-1.81-6.448-7.405-5.648c-5.597.8-8.061 4.414-7.263 7.872z" style = "font-variation-settings:normal" stroke-linejoin = "round" / > < path d = "M1.265 12.607c.159-1.98.561-3.898 2.08-5.701m5.148-3.29c2.006-.66 3.968-1.157 6.446-.844m5.202 2.98c1.192 1.275 1.963 2.163 2.594 3.815" style = "font-variation-settings:normal" stroke = "currentColor" stroke-linejoin = "round" / > < circle r = ".989" cy = "10.404" cx = "14.746" fill = "currentColor" stroke = "none" / > < circle cx = "9.637" cy = "11.305" r = "1.477" fill = "currentColor" stroke = "none" / > < / svg >
{% elif icon.name == "adobestock" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path style = "font-variation-settings:normal" d = "M2.235 2.235h19.53v19.53H2.235z" / > < path style = "font-variation-settings:normal" d = "M6.165 16.659s3.16 1.2 4.602-.17c1.37-1.3.787-3.163-.754-4.05-1.68-.969-3.284-1.788-3.036-3.536.446-3.138 4.386-1.851 4.386-1.851M15.792 7.794v7.774c0 1.023.635 1.766 2.043 1.624M17.826 10.04h-3.582" / > < / svg >
{% elif icon.name == "shutterstock" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < rect ry = "5" rx = "5" height = "20" width = "20" y = "2" x = "2" / > < path d = "M7.728 11.725V9.032c0-1.025.824-1.85 1.849-1.85h2.815m3.88 5.093v2.693a1.845 1.845 0 0 1-1.849 1.85h-2.815" stroke-linecap = "square" stroke-linejoin = "miter" / > < / svg >
{% elif icon.name == "123rf" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path style = "font-variation-settings:normal" d = "M7.48 3.826c-.702 0-1.345.388-1.675 1.008l-.711 1.334a4.214 4.214 0 0 1-1.614 1.67l-.388.224a2.207 2.207 0 0 0-1.104 1.913v8.607c0 .878.712 1.592 1.59 1.592h1.186c.468 0 .916-.19 1.244-.524l1.478-1.504c.266-.27.628-.421 1.006-.421h7.04c.378 0 .74.151 1.005.421l1.478 1.504c.329.334.778.524 1.247.524h1.183c.879 0 1.592-.714 1.592-1.592V9.975c0-.79-.422-1.518-1.106-1.912l-.388-.225a4.214 4.214 0 0 1-1.613-1.67l-.711-1.334a1.899 1.899 0 0 0-1.676-1.008z" stroke-linejoin = "miter" / > < circle cx = "12" cy = "12.467" r = "2.723" / > < / svg >
{% elif icon.name == "dreamstime" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M19.834 20.994s4.824-4.08 2.044-12.03C19.252 1.456 6.822-1.223 2.508 7.566c-3.936 8.023 2.18 14.46 7.88 14.374 4.889-.075 8.475-3.226 7.813-8.604-.76-6.18-6.73-6.816-9.275-4.184-2.256 2.334-1.816 7.034.873 7.823 2.241.844 4.661-1.265 3.161-3.215" style = "font-variation-settings:normal" stroke = "currentColor" stroke-linejoin = "bevel" paint-order = "stroke fill markers" / > < / svg >
{% elif icon.name == "paypal" %}
< svg xmlns = "http://www.w3.org/2000/svg" class = "feather" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" > < path d = "M7.144 19.532l1.049-5.751c.11-.606.691-1.002 1.304-.948 2.155.192 6.877.1 8.818-4.002 2.554-5.397-.59-7.769-6.295-7.769H7.43a1.97 1.97 0 0 0-1.944 1.655L2.77 19.507a.857.857 0 0 0 .846.994h2.368a1.18 1.18 0 0 0 1.161-.969zM7.967 22.522a.74.74 0 0 0 .666.416h2.313c.492 0 .923-.351 1.003-.837l.759-4.601c.095-.523.597-.866 1.127-.819 1.86.166 5.567-.118 6.85-3.821.554-1.6.705-2.954.408-4.018" style = "font-variation-settings:normal" stroke = "currentColor" stroke-linejoin = "miter" / > < / svg >
{% else %}
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" class = "feather feather-link" > < path d = "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" > < / path > < path d = "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" > < / path > < / svg >
{% endif %}
< / a >
{% endfor %}
{% endmacro render_social_icons %}