mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
hide reading-time, style footer
This commit is contained in:
parent
596312d8c9
commit
2e97875853
@ -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()),
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user