Skip to content

Web cleanup#80

Merged
theyoyojo merged 5 commits into
masterfrom
web_cleanup
Apr 4, 2024
Merged

Web cleanup#80
theyoyojo merged 5 commits into
masterfrom
web_cleanup

Conversation

@charliemirabile

Copy link
Copy Markdown
Contributor

spring cleaning on all the random files living in the root of the kdlp.underground.software folder
BEFORE:

$ git show master:kdlp.underground.software/
tree master:kdlp.underground.software/

400.md
401.md
403.md
404.md
405.md
500.md
502.md
CNAME
README.md
android-chrome-192x192.png
android-chrome-512x512.png
apple-touch-icon.png
course/
faq.md
favicon-16x16.png
favicon-32x32.png
favicon.ico
images/
index.md
lpc2023.html
site.webmanifest
slides_src/
style.css

AFTER:

$ git show web_cleanup:kdlp.underground.software/
tree web_cleanup:kdlp.underground.software/

400.md
401.md
403.md
404.md
405.md
500.md
502.md
README.md
assets/
course/
faq.md
images/
index.md
lpc2023.html
slides_src/

There is no need to minify the json. It is impossible to review changes
when it is all scrunched on one line. This change was generated by running
`jq --tab site.webmanifest | sponge site.webmanifest` and you can verify
that by running:

$ diff -s <(git show  HEAD:kdlp.underground.software/site.webmanifest) \
          <(git show HEAD^:kdlp.underground.software/site.webmanifest | jq --tab)
Files /dev/fd/63 and /dev/fd/62 are identical
These were just the source images used to create the final .ico file
which holds all the sizes in one file. No need to hang on to these files.
Instead of cluttering up the root of the kdlp.underground.software
folder, we can put these in an assets folder and out of the way.
@theyoyojo

Copy link
Copy Markdown
Contributor

Seems like some of the icons are going missing?

@charliemirabile

Copy link
Copy Markdown
Contributor Author

can you be more specific? I don't see any missing icons

@theyoyojo

Copy link
Copy Markdown
Contributor

looks like the two favicon*.png files are deleted

@charliemirabile

Copy link
Copy Markdown
Contributor Author

looks like the two favicon*.png files are deleted

yes, that is correct. Those two files are not something that clients request. They get favicon.ico which is a combination file that includes both sizes. The two .png files were just the source for creating that .ico file as I explained in the commit that removed them. The favicon still shows up as expected because they are not used.

@theyoyojo theyoyojo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@theyoyojo theyoyojo merged commit 35aa866 into master Apr 4, 2024
@theyoyojo theyoyojo deleted the web_cleanup branch April 4, 2024 22:06
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