my website
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add mastodon author attribution

+58 -55
+58 -55
src/layouts/BlogPost.astro
··· 12 12 --- 13 13 14 14 <html lang="en"> 15 - <head> 16 - <BaseHead title={`${title} - vixalien´s blog`} description={description} /> 17 - </head> 15 + <head> 16 + <BaseHead title={`${title} - vixalien´s blog`} description={description} /> 17 + <meta name="fediverse:creator" content="@vixalientoots@mas.to" /> 18 + </head> 18 19 19 - <body class="overflow-yes"> 20 - { 21 - hero_image && ( 22 - <ImageContainer image={hero_image} invert={false}> 23 - <Fragment slot="top"> 24 - <Header title={SITE_TITLE} /> 25 - </Fragment> 26 - <Fragment slot="bottom"> 27 - <PostInfo 28 - title={title} 29 - description={description} 30 - publish_date={publish_date} 31 - tags={tags} 32 - /> 33 - </Fragment> 34 - </ImageContainer> 35 - ) 36 - } 37 - <main class="container"> 38 - { 39 - !hero_image && ( 40 - <> 41 - <Header title={SITE_TITLE} /> 42 - <PostInfo 43 - title={title} 44 - description={description} 45 - publish_date={publish_date} 46 - tags={tags} 47 - /> 48 - <hr /> 49 - <br /> 50 - </> 51 - ) 52 - } 53 - <article> 54 - <slot /> 55 - </article> 56 - <hr /> 57 - <br /> 58 - <span> 59 - <a class="top" href="#top">↑ Scroll to Top</a> 60 - { 61 - ( 62 - <div> 63 - <br /> 64 - <span>&copy; {AUTHOR} {PUBLISH_YEAR}</span> 65 - </div> 66 - ) 67 - } 68 - </span> 69 - </main> 70 - </body> 20 + <body class="overflow-yes"> 21 + { 22 + hero_image && ( 23 + <ImageContainer image={hero_image} invert={false}> 24 + <Fragment slot="top"> 25 + <Header title={SITE_TITLE} /> 26 + </Fragment> 27 + <Fragment slot="bottom"> 28 + <PostInfo 29 + title={title} 30 + description={description} 31 + publish_date={publish_date} 32 + tags={tags} 33 + /> 34 + </Fragment> 35 + </ImageContainer> 36 + ) 37 + } 38 + <main class="container"> 39 + { 40 + !hero_image && ( 41 + <> 42 + <Header title={SITE_TITLE} /> 43 + <PostInfo 44 + title={title} 45 + description={description} 46 + publish_date={publish_date} 47 + tags={tags} 48 + /> 49 + <hr /> 50 + <br /> 51 + </> 52 + ) 53 + } 54 + <article> 55 + <slot /> 56 + </article> 57 + <hr /> 58 + <br /> 59 + <span> 60 + <a class="top" href="#top">↑ Scroll to Top</a> 61 + { 62 + ( 63 + <div> 64 + <br /> 65 + <span> 66 + &copy; {AUTHOR} {PUBLISH_YEAR} 67 + </span> 68 + </div> 69 + ) 70 + } 71 + </span> 72 + </main> 73 + </body> 71 74 </html>