Skip to content

[Issue] - Website shows .html suffix on page urls #98

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

Closed
VerzatileDev opened this issue Jun 12, 2024 · 3 comments · Fixed by #102 or #115
Closed

[Issue] - Website shows .html suffix on page urls #98

VerzatileDev opened this issue Jun 12, 2024 · 3 comments · Fixed by #102 or #115
Assignees
Labels
🐞 Type: Bug Bug that affects something about the site.

Comments

@VerzatileDev
Copy link
Contributor

Description

URLs should not be with a defined .html at the end of it.

  • This was introduced somewhere in one of the Updates, it would possibly be within the _config.yml file. or Javascript file change.

To Reproduce
Steps to reproduce the behaviour:

  1. Open the main website
  2. Go to an article apart from the Home Page
  3. Top you will see a URL with an ending of ".html "

Expected behaviour

  • Should not show up..

Screenshots

image

Desktop (please complete the following information):

  • Not applicable.

Smartphone (please complete the following information):

  • Not applicable.
@VerzatileDev VerzatileDev added the 🐞 Type: Bug Bug that affects something about the site. label Jun 12, 2024
@VerzatileDev
Copy link
Contributor Author

Resource to potentially fix that https://jekyllrb.com/docs/permalinks/

@VerzatileDev
Copy link
Contributor Author

VerzatileDev commented Jun 13, 2024

Fix

Fixed with the previously mentioned resource.

image

Will be available on the next patch.

Changes from " Resource/about.html " -> to " Resource/about/ " Removing the .HTML suffix from URLs.

  • Cleaner
  • Improves safety to avoid exposing the core of how the website is built etc.

Important

  • Any article, blog, or resource page must end with " .md " suffix.

  • Shared content that ended with the URL suffix of .HTML will no longer work and each posted link is no longer active routing to the 404 Page, please update these links where ever they are posted!

@VerzatileDev VerzatileDev changed the title [Issue] - Website shows .html of page urls [Issue] - Website shows .html suffix on page urls Jun 13, 2024
@VerzatileDev VerzatileDev linked a pull request Jun 13, 2024 that will close this issue
@VerzatileDev VerzatileDev self-assigned this Jun 13, 2024
@VerzatileDev
Copy link
Contributor Author

Attached in the next update, which closes the following issue. See #102 for details.

JDSherbert added a commit that referenced this issue Jul 20, 2024
Changes
---

1. Fixes the permalink that includes .html at the end of the current
page within the hyperlink.
The following is explained in detail here
#98

2. Removes extra routing that references itself for pages for example
Portfolio would reference a Folder and the named file that hosts the
folder, which has now been changed to index.html

This changes /folder/foldername.md to /folder/ , which uses subdomains
under /folder/subdomains

- Note that Now each folder instead of referencing itself shouuld
reference index.html as its primary file, whereas the rest will be part
of the subdirectory.
- See notes on the following
#108

4. Fixes
#109 , not
showing certain articles within the list of the website.


issues
---

1. #110
2. #61
Reference to 110.
@VerzatileDev VerzatileDev linked a pull request Aug 5, 2024 that will close this issue
JDSherbert added a commit that referenced this issue Aug 7, 2024
Introducing Version 1.0.1
---

The following address visual representation and build / Runtime of the
website..
See the following details down below for further information.


Changes
---

1. Fixes the permalink that includes .html at the end of the current
page within the hyperlink.
The following is explained in detail here
#98

2. Removes extra routing that references itself for pages for example
Portfolio would reference a Folder and the named file that hosts the
folder, which has now been changed to index.html

This changes /folder/foldername.md to /folder/ , which uses subdomains
under /folder/subdomains

- Note that Now each folder instead of referencing itself shouuld
reference index.html as its primary file, whereas the rest will be part
of the subdirectory.
- See notes on the following
#108

4. Fixes
#109 , not
showing certain articles within the list of the website.

5. The following update features minor bug fixes and improves the
load-time
of the website in general.

Direct reference to the changes and the requirement can be found here
#112

Reduces the amount of load and flickering when changing from light to
dark themed background.

6. The first one looked in a folder will be index.html file, this means
that it does not reference itself specifically and instead uses /folder/
though it can still be accessed by /folder/index.html


Known Issues
---

1. #110
2. #61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Type: Bug Bug that affects something about the site.
Projects
None yet
1 participant