Skip to content

Conversation

@KoloInDaCrib
Copy link

What does this PR add?

This PR adds a system to the Generator that forces the page to be either on the front or on the back of a tab depending on what the file name of the page starts with. This idea was brought up by Kade a couple of days ago for the Miscellaneous Coding Tricks article.

Basically,

  • If the page file name starts with +, it will always be a starting page
  • If the page file name starts with -, it will always be an ending page
image

Copy link
Member

@Kade-github Kade-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good, unf it does create weird address bars like this:
image

but I don't know if we can fix that easily.

@Kade-github Kade-github merged commit f006712 into FunkinCrew:master Jan 10, 2026
1 check passed
@KoloInDaCrib
Copy link
Author

this looks good, unf it does create weird address bars like this: image

but I don't know if we can fix that easily.

i suppose we could rename the files before they get converted to html pages somewhere in the Generator code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants