Gatsby-theme-novela: [Feature request] Code blocks, Tags, and Author's page

Created on 6 Aug 2019  路  17Comments  路  Source: narative/gatsby-theme-novela

I have quite a few new features that I would love to have added!

  1. Language titles: Like Gatsby does on their site, I want to be able to have a banner to display the current language of the code block
  2. Copy: Again, like Gatsby does on their site, I want to be able to copy the code in a code block with a click of a button!

For the above two points you can refer to this Gatsby PR: https://github.com/gatsbyjs/gatsby/pull/15834

  1. Tags: Would love to have tags for posts and tag pages
  2. Author pages: Would love to have a link to an author page (e.g. https://example.com/author/john-doe) with all of their posts authored by them

Thanks again for starting work on multiple author support @brotzky!

enhancement

Most helpful comment

Yikes, will update. Moving fast right now.

Also, don't sweat about not knowing how to contribute to Github. Thanks for helping out through reporting issues and requesting features.

All 17 comments

And also:

  1. Code titles: Titles for code blocks (like Gatsby on their site)

Thanks for the ideas, John. (btw, working towards co-authoring right now)

1, 2 & 5. This is possible and something that would be nice with code blocks.

3 & 4. Tags/Categories & Author pages. As people use the theme and it matures it'll be a good idea to add it in. Will add it to the roadmap. I'm not sure we'll be able to get to immediately.

@brotzky Copy doesn't look very good on mobile:

@alfieqashwa By modified, do you mean that you fixed the mobile copy button appearance?

Yikes, will update. Moving fast right now.

Also, don't sweat about not knowing how to contribute to Github. Thanks for helping out through reporting issues and requesting features.

@johnletey no, not ye. I just added the Language Title.

I see @alfieqashwa ... let's see what @brotzky thinks about the design and whatnot

Wont be adding Language titles. This can be done through shadowing in the future.

Fixing mobile "copy" bug.

Wont be adding Language tags. This can be done through shadowing in the future.

  1. Will you be adding the code titles?
  2. Is there a way that I can "import" the package code instead of completely overriding everything, so that I don't become so outdated with the package?

Fixing mobile alignment bug.

Wonderful!

v0.0.9 removes the copy button on mobile.

the default theme for code blocks we want to keep more minimal like those found on https://overreacted.io or http://kentcdodds.com

code titles will not be added by default to the code blocks (html, jsx, js, etc)

Understand ... thanks for working on this @brotzky!

I'll be working on author's page very soon. We'll keep you posted, @johnletey!

Thanks for all the suggestions, everyone!

awesome ... thank you so much @tcostaco!

I've created a new issue just for Authors.

If you have any more suggestions please open a new issue.

Hey, I would like to help on tags/categories. Also I feel adding code title should be fine. what do you think??

Hey, that's awesome!

Off the top of my head we'd need

  • Updated design with tags/categories visible (done by our team)
  • New pages that shows a list of specific tags/categories of articles selected
  • New Frontmatter with tags/categories and createPages including that logic

Code title might be a good idea. Still on the fence about it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bravo-kernel picture bravo-kernel  路  4Comments

MartinRosenberg picture MartinRosenberg  路  3Comments

bravo-kernel picture bravo-kernel  路  4Comments

rommelporras picture rommelporras  路  4Comments

mabasic picture mabasic  路  4Comments