Skip to content
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

Added favicon to the website which will make the site look great. #11603

Merged
merged 26 commits into from
Nov 20, 2024

Conversation

Ajay-singh1
Copy link
Contributor

What does this PR do?

Improve repo

Description

Added favicon to the site which will make the site look great fixes #11337 I have tested the site locally through github pages and it works great :).I have added the ebookfoundation logo as the favicon.

Why is this valuable (or not)?

Yes it is very valuable

Checklist:

  • Read our contributing guidelines.
  • Search for duplicates.
  • Include author(s) and platform where appropriate.
  • Put lists in alphabetical order, correct spacing.
  • Add needed indications (PDF, access notes, under construction).
  • Used an informative name for this pull request.

Follow-up

  • Check the status of GitHub Actions and resolve any reported warnings!

@Ajay-singh1
Copy link
Contributor Author

Screenshot from 2024-10-18 08-10-54

@eshellman
Copy link
Collaborator

Hmmm, looks like this change breaks the build

@Ajay-singh1
Copy link
Contributor Author

Ajay-singh1 commented Oct 18, 2024

@eshellman Yes the build will break for this PR as I have added the favicon icon and nothing else.The site uses Jekyll theme and uses a remote theme from minimal so I just injected favicon in the headtag.What are your thoughts?

@eshellman
Copy link
Collaborator

Maybe you need to inject it from the free-programming-ebooks-search repo?

@Ajay-singh1
Copy link
Contributor Author

@eshellman Okay I will do that.

@Thenlie
Copy link
Contributor

Thenlie commented Nov 8, 2024

The "Check URLs" actions are failing due to the file types of the changed files.

https://github.com/EbookFoundation/free-programming-books/blob/main/.github/workflows/check-urls.yml#L93 On this line we grab the file by getting all characters preceding a .md or .yml extension. The two files failing the check have a .html and .ico extension so this file name is blank. Because of this the upload artifact step fails.

Options for Resolution

  1. Add the .ico and .html extension to that regex linked above, however that could cause issues as we don't actually want to "check URLs" for these file types.
  2. Simply ignore the Check URLs step here as it is not relevant to these files.
  3. Update the action to skip if the file extension is not .md or .yml. I think this is likely the best option.

cc: @eshellman

@Ajay-singh1
Copy link
Contributor Author

@Thenlie Thanks for helping out here.

@Ajay-singh1 Ajay-singh1 marked this pull request as draft November 14, 2024 07:21
@Thenlie
Copy link
Contributor

Thenlie commented Nov 17, 2024

@Ajay-singh1 #11760 should get this working. Let me know if not!

@Ajay-singh1 Ajay-singh1 marked this pull request as ready for review November 20, 2024 02:17
@Ajay-singh1
Copy link
Contributor Author

@eshellman We can cleanly merge this PR now.

@eshellman eshellman merged commit 35d2156 into EbookFoundation:main Nov 20, 2024
6 checks passed
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.

Issue: Missing Favicon on the Website
3 participants