diff options
-rw-r--r-- | content/pages/me.md | 2 | ||||
-rw-r--r-- | layouts/_default/_markup/render-image.html | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/content/pages/me.md b/content/pages/me.md index 35e8988..fa11d94 100644 --- a/content/pages/me.md +++ b/content/pages/me.md @@ -3,7 +3,7 @@ comments = false slug = 'me' title = 'Обо мне' +++ -# Контактная информция +# Контактная информация <ul class="h-card"> <li class="p-name"> <span class="p-given-cname">Александр</span> <span class="p-nickname">NeonXP</span> <span class="p-family-name">Кирюхин</span> diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..93e530d --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,8 @@ +<img + class="d-block img-fluid mb-2 rounded border shadow" + max-width="800" + loading="lazy" + src="{{ .Destination | safeURL }}" + {{- with .Text }} alt="{{ . }}"{{ end -}} + {{- with .Title }} title="{{ . }}"{{ end -}} +> |