-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change home page to posts page #965
Comments
@hossainemruz please reply, is it possible to change the home page to become the posts page, or should I make a changes inside the theme source code ? in that case, what should I change exactly. |
Unfortunately, not possible currently. You have to fork the theme and make some change to do that. |
what changes should I apply in the theme ? @hossainemruz |
Not sure yet. I have to check. I am afraid I won't have time before the weekend. |
Hi @olpalu, I found a solution (it's not clean, and there are some tweaks needed), but basically I did a brute force solution to place the posts html to index.html. I created a branch with these changes: https://github.com/BernatBC/toha/tree/testing. There's probably a cleaner way to do it, but at least works.
If you need more help, just keep in touch with us |
I was wondering if it possible to redirect using URL overwrite. That would require least amount of change. |
Without a lot of code changes, the most reliable method is to use a rewrite or reverse proxy in the operation field. (ex. Apache, Nginx ...) let isRoot = location.pathname == "/";
if (isRoot === true && location.hash.length === 0) {
window.location.replace("./posts");
} |
Question
is it possible to change the main section in the website to be posts page instead of the actual home page ?
meaning when I open my website home page it shows the posts.
The text was updated successfully, but these errors were encountered: