Cannot find documentation on template variables... (showRssFeed, showToggleTheme, etc) #527
Replies: 5 comments 1 reply
-
Just putting some other ideas in here that I feel I should document when I submit my PR...
Thanks again for such a great template to work with! It has been a pleasure even with these hiccups. I'm used to having to dig... :) |
Beta Was this translation helpful? Give feedback.
-
Hi @BallisticPain, Brand new to Astro as well, and came here with the same question. I found the const props containing Did you find the answer yet, or, can someone point us in the right direction? |
Beta Was this translation helpful? Give feedback.
-
Was anyone able to find an answer to that question? |
Beta Was this translation helpful? Give feedback.
-
I haven't yet |
Beta Was this translation helpful? Give feedback.
-
In Header.astro this code is displaying the RSS button, just put it in comment |
Beta Was this translation helpful? Give feedback.
-
I'm brand new to Astro. I'm not new to development. I found your template and it is what made me decide to check out Astro for these projects I'm working on. I love the work and effort you have put into this. I look forward to AstroWind v2. I am happy to create a PR to add some documentation about using some of these more advanced boolean flags. I tried to go through the code and figure out how to use/pass them through. I'm sure if I understood more about Astro, I probably would know the answer, but since I don't, I would love to learn and then help this project by getting it into some documentation!
So... I'll track through what I've found. What I would really like is to remove the RSS button next to the CtA button in the top right of the
index.astro
page. I figured out that the Header.astro is what containsshowRssFeed
variable. This is passed in through thePageLayout.astro
. I haven't figured out where that page gets it's variables. There is another two variables getting passed into the<Header>
tag ...isSticky
andshowToggleTheme
. I've also not been able to find those. I assume this means they are Astro variables that I would need to put into a configuration somewhere.If someone can direct me where I should put those, I would greatly appreciate it. I would be happy to make a PR and get some examples into the documentation. I believe since AstroWind is a popular template, you will get a lot of Astro newbies. The more examples we can get into your documentation the faster we'll all get up to speed.
One other small thing I noticed. I couldn't figure out how to "download" the template to use it. It was much easier once I put the Astro docs to use... I used
npm create astro@latest -- --template onwidget/astrowind
which made it quite easy. I had to try a couple of times to get that working properly, but that line got me going immediately.Beta Was this translation helpful? Give feedback.
All reactions