From 2a61eba0126cc68547bc523bc045a6a58b6eda9e Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Tue, 3 Dec 2024 23:46:44 +0100 Subject: [PATCH] check metadata --- TODO.md | 2 -- public/monogram.png | Bin 0 -> 8317 bytes src/components/BaseHead.astro | 17 +++++++++++------ src/layouts/PageWithTitle.astro | 10 +++------- src/layouts/Root.astro | 7 ++++++- 5 files changed, 20 insertions(+), 16 deletions(-) create mode 100644 public/monogram.png diff --git a/TODO.md b/TODO.md index 3d12d89..efaf99a 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1 @@ - Tag count -- title for pages -- check header meta info diff --git a/public/monogram.png b/public/monogram.png new file mode 100644 index 0000000000000000000000000000000000000000..90f09b825c076f86436d5f0778b5585716d67272 GIT binary patch literal 8317 zcmcIp2UJtrnvP!NB25IP3mAG0QbVLjCv@puTIeK!(4~kp0RaI4ktQHrKsrkAU_=B9 zAYBBcND*mD$OCuI+nlO>h*Lx2g~QC>D|e(r8) z9Kufq`fFYU_HPO;#Q^a_p*u;gzg@mE9q-@fj_6`U=C6zx1gDV-R zlb0730fYJa`U?4q3Sm4QVb`Rjq+r4#FcA?!pdpC!M|;`$38HcAr&IhfhY|{B=jn{~ za>k(9PUp0-#dv$kK%qd+_UGhY&JKUij>i4DeP9UKsRVXSNEr5y>L@?w|3>{(@-OOG zCyW;c=Y+xjwSj+n#9!in83@ex?}zx=VE>)6me&8Q?(Y6i+rW7#`v61yY1DsO(|p{*o$U+%TT{Ah=Or*ssU^xpr2b^|h;o~i;H zQdv>rnv{fupoq{P(*V~Yz*uJoe0b)}kgs6eANN2V00jm1S49CAf7K)u z8WbW=P;t1mhgl(zGhxoaJOAPp2!tomI}xv;Ab%;UtycGyaDPNBE%isJ!0Q_>H1^@= zsBMT_Bm%ZC?l(@lD%DbaB0hIB!z%VCnF~`b<=s4zJj2+J%I@muC6^~k*>kTC7A0|% zqK@sZbi`aJL}#Fs~V#t+=&@p zPtW*ChmiEMVzZlm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3b9U(`nwgAwWxlfm7|AJ@bfV~SeE4sXQV~;(4-eL&AC_ZIyZgA_63RYAMv*fvC zo52L3>Jq+(8jlUH0qoJ&LCG069wDLD{%V0#i59Dk((>|hjR*;Wu-nos@87iP4xJ$pYZ-Ke9VYUB@R zTAG=4rqo;|S77oz0+eRa_V%{UfW62%IR8E|Dsu-3#uULBuE`aanaMn}w&v!GM4kr( zt0ca9eWC#)NrSYek;2ZlpRBH|Aex4Q0h(4X@B}rrVRY4-1rA=!2 z_NrRo{rmSfyuHOi|2vDX1~mHI+gwHM7Z%5p^8!Lbol7|(XfmR+R3t?0OWX1o4D83w zj=ZYs?~gROK04Hh3kV48%N}lay_aj%3-7UYUR_@g_PlERvs`-B;B;8Dl8*Z+|CCZu z4{Usc4U(%%!oa|wBLTjFB>}|>2^_yH&XS-g&GLKrTm2m4;0sY*IxmMDP^c0ET!Q(`&s0ocVDk>3T(nCJ9#`WsdCoIr zb|wJwy{s)?nEbb4r%Pa+iUd$FlGnRQuFk-Mw_@u-E`lYp(ZZHsKH6BD{JZY_zus(ky}kDT_m1QAZOP-43%{q|)f_H&GKPRZq_VbB Jg@X0n{{V{~HaP$Q literal 0 HcmV?d00001 diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index e8333f1..e6b4eb1 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -6,21 +6,26 @@ import '../styles/preflight.css' import '../styles/global.scss' interface Props { + title?: string image?: string } const canonicalURL = new URL(Astro.url.pathname, Astro.site) -const { image = '/blog-placeholder-1.jpg' } = Astro.props +// const { image = '/blog-placeholder-1.jpg' } = Astro.props -const title = 'Astro Blog' -const description = 'Welcome to my website!' +let title = 'Niccolo Borgioli' +const description = 'Personal blog' + +if (Astro.props.title) { + title = Astro.props.title + ' - ' + title +} --- - + @@ -36,14 +41,14 @@ const description = 'Welcome to my website!' - + - +