Website Misc Improvements (#836)
* [#803,website][s]: remove gallery button from hero, add gallery link to navbar, make docs listed on /blog be displayed as blog posts * [#803,analytics,website][xs]: implement GA
This commit is contained in:
@@ -60,7 +60,10 @@ export const getStaticProps = async ({ params }) => {
|
||||
});
|
||||
|
||||
// Temporary, so that blogs work properly
|
||||
if (dbFile.url_path.startsWith('blog/')) {
|
||||
if (
|
||||
dbFile.url_path.startsWith('blog/') ||
|
||||
(dbFile.url_path.startsWith('docs/') && dbFile.metadata.filetype === 'blog')
|
||||
) {
|
||||
frontMatter.layout = 'blog';
|
||||
frontMatter.authorsDetails = await getAuthorsDetails(
|
||||
dbFile.metadata.authors
|
||||
|
||||
Reference in New Issue
Block a user