Replies: 3 comments 1 reply
-
For future reference, based on Gatsby Docs: While the original is Ex: Original: I'm not sure about best practices, but sometimes I copy both the file I'm shadowing and the imports, |
Beta Was this translation helpful? Give feedback.
-
Localization of dates. As the theme use date-fns module you can import the localization for your language and translate the months in posts. I found the locale options in For this example the shadow will be in this folder:
This file show the published date of the post in the blog. There you This section is the section to edit:
After that I added the option (I don't know how it's called)
In the same file there's the "time to read" estimation, but it's just a string that you can change manually. |
Beta Was this translation helpful? Give feedback.
-
You need to set these options since theme's
Not setting the
Mostly, unless you'd like to add another plugin or override existing configurations.
That's a TypeScript type. I'm not sure where you got that snippet from though, since |
Beta Was this translation helpful? Give feedback.
-
I've been playing everyday with this starter about a week or more, shadowing is working fine (more or less) Netlify CMS is ok. But I'm still struggling to config
gatsby-config.yml
and some basic stuff (I guess it's basic)From what I've seen, I don't need to configure any plugin because they are all pre-configured in
gatsby-theme-advanced
right? I only need to configure if I install a new plugin?Another problem I'm having is about the part to config the theme options https://github.com/Vagr9K/gatsby-advanced-starter/blob/master/themes/amaranth/README.md#configuration
The general website metadata is working, the logo and favicon too but PWA icons it's not.
Even though it's working I'm not sure I did the right setup.
Also I don't know if I'm supposed to put these options in the
gatsby-config
file inside the pluginoptions
or outside theoptions
or even in another file. Or doesn't matter?About this part, what is it for?
const config: SiteConfig = {
My
gatsby-config.yml
file starts like that, I removed thatconst config: SiteConfig = {
Earlier, I was looking at examples/amaranth-demo/gatsby-config.js and there's a list of icons, I copied the whole file and replaced with my info and the icons in /docs/icons with mine, but still I'm not sure I did it right, I think I didn't. Also, is it necessary to do it?
Actually I only got it working because I just copied everything from this file: https://github.com/Vagr9K/gatsby-advanced-starter/blob/master/examples/amaranth-demo/gatsby-config.js
But still, I don't know if it's necessary because the theme already has a
gatsby-config
file...The LINKS in the footer are also gone, I'm still troubleshooting it, it may be from the shadowing, but may be not. Another thing that's missing is the Author section.
Well, I'm really confused as you can see, thanks.
Beta Was this translation helpful? Give feedback.
All reactions