Comments (6)
Hi @prototypa
That fixed it. Everything working perfectly now.
I tried sending you some money but the buy me a coffee page won't accept my card. Do you have Paypal?
Great work
from astrowind.
Hi @prototypa
Thanks for the kind words.
Everything is working great now. I am using astrowind for an info blog on WordPress, and I moved it due to the cost os hosting on WordPress and all the bloat.
My load times have gone from >3secs (with expensive hosting) to <400msecs (with free hosting on CloudFlare pages).
I have found these issues via Google Search Console and Ahrefs crawl reports.
As for new features, the two main things are already on your roadmap.
Create component or utilities for latest posts
Create component or utilities for related posts
I also see a merge for social share buttons that will be very nice.
Keep up the great work.
from astrowind.
Hi
I took a look in the permalinks.js file and made a change.
const createPath = (...params) => '/' + params.filter((el) => !!el).join('/') + '/'; (Added the + '/') at the end of the function.
This works fine in DEV mode, but when I try to build I get
generating static routes
▶ src/pages/index.astro
error Invalid URL
Thanks
Rob
from astrowind.
Thanks again for the valuable feedback. That of the trailing slash is something that I had in mind at some point to develop and had not had the opportunity.
I have made a commit (fa973ce) with some changes and I have added a new configuration that allows you to decide whether or not you want to add the slash at the end of the urls.
https://github.com/onwidget/astrowind/blob/main/src/config.mjs#L6
export const SITE = {
// (...)
trailingSlash: false,
// (...)
};
Please try it with the value true and tell me how it works. Thanks.
from astrowind.
Again, thank you very much. You look at very interesting details.
I've already made a fix (e50a566) for pagination to work properly with trailing slash. In case you change the configuration and it doesn't work for you, try to refresh the server (because an astro configuration is referenced from that of the theme)
And don't worry about the rest, the most help is all the feedback you give, that's priceless.
By the way, if you can think of several sections or components or functionalities that you think the theme should have to allow easier the development of a website, please, do not hesitate to open a discussion topic. It would be very helpful, thank you.
from astrowind.
In 2d0687d we add a new LatestPosts.astro widget
https://github.com/onwidget/astrowind/blob/main/src/components/blog/LatestPosts.astro
from astrowind.
Related Issues (20)
- How are you using i18n HOT 1
- I had a problem with installing @tabler-icons-react and flat-color-icons
- Strange spacing CSS bug in blog excerpts HOT 2
- why still in beta
- missing "use this template" button
- Author isn't displayed on the post HOT 1
- output: 'static' to output: 'server' HOT 1
- How should i add Schema.org into astrowind
- Matomo Analytics? HOT 1
- Hover tooltips? HOT 1
- npm run build fails due to getImage() return type GetImageResult HOT 4
- Make Feature2 items cards clickable like blog posts grid items? HOT 1
- not able to add facebook chat plugin HOT 1
- Viewtransitions break anchor links HOT 3
- Handling forms HOT 1
- Chinese category HOT 1
- Netlify Builds are Failing HOT 1
- Build failing - munmap_chunk(): invalid pointer
- i18n
- How to add new blogs? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrowind.