Syncing many changes broke dropdown and homepage #2570
-
Due to issue #1913 Sync from template was not working in my repo for a few months. I fixed it recently but the PR created by the workflow was replacing a lot of my customisation in config.yml, base.scss and in some of my pages. I manually went through all the changes and did my best to preserve my settings, but once I deployed I found a huge issue: My custom pages aren't appearing in my navbar, and my homepage - the about page - isn't available either. When I go to my website, it redirects to the "page not found" page. I can access some of the pages (Blog, Projects) via the permalinks but can't go back to the homepage from them either. And my custom pages aren't appearing in the search options either. I wonder if this is due to the change from html to liquid layouts and me messing up the merge because I didn't realise everything was switching to liquid. I'll continue updating about my attempts. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Since your version (pre-liquid naming) a lot has changed. Some files were renamed, some code moved to other files and even some files changed directory. Also we added a ton of new functionalities. A lot of those renaming/moving code around was to make the code clearer and more concise. For example, the 404 page was moved to inside Since your version is very outdated, it is better to start from scratch and apply your customization on top of the latest version. I think it will be easier for you to apply the changes you know you made than try to figure out why some changes were made and if you should or not use your code rather than the one coming from upstream. In |
Beta Was this translation helpful? Give feedback.
Since your version (pre-liquid naming) a lot has changed. Some files were renamed, some code moved to other files and even some files changed directory. Also we added a ton of new functionalities. A lot of those renaming/moving code around was to make the code clearer and more concise. For example, the 404 page was moved to inside
pages/
, since, well, it is a page.Since your version is very outdated, it is better to start from scratch and apply your customization on top of the latest version. I think it will be easier for you to apply the changes you know you made than try to figure out why some changes were made and if you should or not use your code rather than the one coming from upst…