mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
* use long month formatting for last edit date * last -> Last * Update src/pages/[...slug].tsx Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com> Co-authored-by: Corwin Smith <cssmittys@gmail.com> Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
This commit is contained in:
parent
bbd4a31bad
commit
892c743b78
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ export const getStaticProps: GetStaticProps = async context => {
|
||||||
content,
|
content,
|
||||||
navLinks,
|
navLinks,
|
||||||
lastModified: getParsedDate(lastModified.mtime, {
|
lastModified: getParsedDate(lastModified.mtime, {
|
||||||
month: 'numeric',
|
month: 'long',
|
||||||
day: 'numeric',
|
day: 'numeric',
|
||||||
year: 'numeric'
|
year: 'numeric'
|
||||||
})
|
})
|
||||||
|
|
@ -111,7 +111,7 @@ const DocPage: NextPage<Props> = ({ frontmatter, content, navLinks, lastModified
|
||||||
{frontmatter.title}
|
{frontmatter.title}
|
||||||
</Heading>
|
</Heading>
|
||||||
<Text as='span' mt='0 !important'>
|
<Text as='span' mt='0 !important'>
|
||||||
last edited {lastModified}
|
Last edited on {lastModified}
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue