This commit is contained in:
parent
2a1ebcf251
commit
88fd13a01a
2 changed files with 8 additions and 1 deletions
|
@ -36,6 +36,7 @@ const datestamp = post.data.date.toLocaleDateString(undefined, {
|
||||||
<!-- <meta slot="head" property="og:url" content="{{ .Permalink }}" /> -->
|
<!-- <meta slot="head" property="og:url" content="{{ .Permalink }}" /> -->
|
||||||
<!-- <meta slot="head" property="og:description" content="{{ .Summary }}" /> -->
|
<!-- <meta slot="head" property="og:description" content="{{ .Summary }}" /> -->
|
||||||
<meta slot="head" property="og:type" content="article" />
|
<meta slot="head" property="og:type" content="article" />
|
||||||
|
{heroImage && <meta slot="head" property="og:image" content={heroImage.src} />}
|
||||||
<meta slot="head" property="article:published_time" content={datestamp} />
|
<meta slot="head" property="article:published_time" content={datestamp} />
|
||||||
|
|
||||||
<div class="post-container">
|
<div class="post-container">
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
p img {
|
p > img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
||||||
|
@ -41,6 +41,12 @@
|
||||||
border: 1px solid var(--hr-color);
|
border: 1px solid var(--hr-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre > code {
|
||||||
|
padding: 12px;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid var(--hr-color);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@media screen and (max-width: 520px) {
|
@media screen and (max-width: 520px) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
Loading…
Reference in a new issue