Closed KingHowler closed 3 months ago
This action is useful when you want to modify your page further after your page was built. I believe that most of our users (me included) host their pages on GitHub pages or don't even add changes after the site was built. Therefore, if this action would be added, it should not run by default, but be enabled if the user is willing to do so instead.
Can you pinpoint what creates these </source>
html tags?
Can you pinpoint what creates these
</source>
html tags?
I can try but I I'm not exactly sure I will be able to find it. And yes that's what I was saying it for. In case someone wants to add a back-end for their al-folio website, they will need the code to be arranged in order to be able to work properly.
This action is useful when you want to modify your page further after your page was built. I believe that most of our users (me included) host their pages on GitHub pages or don't even add changes after the site was built. Therefore, if this action would be added, it should not run by default, but be enabled if the user is willing to do so instead.
That's reasonable, I have removed the following section:
#on:
push:
branches:
- gh-pages
The code won't work automatically and will instead work when manually triggered from GitHub actions
Added prettier-hmtl.yml
GitHub Workflow
Purpose
The GitHub Workflow formats the html files on gh-pages. The html files generated are always on a single line. This makes scaling programs a lot more difficult. By formatting the HTML files, al-folio can now be used to generate code which can then be modified to allow for using back-end.
Errors found
I want to let you know that when I was using prettier for this, it kept crashing and after some debugging I found out that al-folio was generating an invalid tag
</source>
.<source>
is a self-closing tag and doesn't have a separate closing tag. Error:<source src="URL" type="type"></source>
Correct:<source src="URL" type="type">
Workflow Description
</source>
tags in all html files and deletes them.Example: