hide reading-time, style footer

This commit is contained in:
semanticdata 2023-09-19 12:30:40 -05:00
parent 596312d8c9
commit 2e97875853
3 changed files with 12 additions and 6 deletions

View File

@ -18,7 +18,11 @@ export const sharedPageComponents: SharedLayout = {
// components for pages that display a single page (e.g. a single note)
export const defaultContentPageLayout: PageLayout = {
beforeBody: [Component.ArticleTitle(), Component.ContentMeta(), Component.TagList()],
beforeBody: [
Component.ArticleTitle(),
// Component.ContentMeta(),
Component.TagList()
],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),

View File

@ -13,8 +13,7 @@ export default ((opts?: Options) => {
return (
<footer>
<hr />
<p>
Created with <a href="https://quartz.jzhao.xyz/">Quartz v{version}</a>, © {year}
<p>© {year} Miguel Pimentel · Created with <a href="https://quartz.jzhao.xyz/">Quartz</a>.
</p>
<ul>
{Object.entries(links).map(([text, link]) => (
@ -28,5 +27,6 @@ export default ((opts?: Options) => {
}
Footer.css = style
return Footer
}) satisfies QuartzComponentConstructor

View File

@ -1,13 +1,15 @@
footer {
text-align: left;
text-align: center; // was left
margin-bottom: 4rem;
opacity: 0.7;
& p {
margin: auto; // eliminates spacing between p and ul
}
& ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
display: inline-flex; // was flex
flex-direction: row;
gap: 1rem;
margin-top: -1rem;