Merged
Conversation
The changes update the blog links in the research page to point to the new domain `blogs.comphy-lab.org` instead of the old `blogs-comphy-lab.org`. This ensures that the blog links are up-to-date and direct users to the correct location.
This change enhances the script to fetch blog content from the Obsidian API instead of parsing the README file. The new approach retrieves the site structure and then fetches the content for each published page, parsing the Markdown content to extract the title, content, and URL for each blog post and page. This provides a more robust and comprehensive way to index the blog content in the search database.
The changes in this commit update the process for fetching and indexing external blog content: - The previous implementation used the Obsidian API to fetch blog content, which was complex and prone to issues. The new approach reads the blog content from a JSON file generated by a separate Node.js script. - This simplifies the Ruby script and makes the blog content fetching more reliable and maintainable. - The changes also remove the previous code for fetching and parsing the blog content, as it is no longer needed.
This change improves the display of search results in the following ways: - Truncates long content to a maximum of 200 characters, with an ellipsis to indicate more content - Highlights the search query terms in the title and content - Removes the custom HTML handling for team member entries, as it's not needed for the current use case - Adjusts the styling of the result content and tags for a cleaner look The goal is to provide a more concise and readable search result experience for users.
This commit updates the navigation links and the blog badge in the website. The changes include: - Removing the "target="_blank"" attribute from the blog link, as it is not necessary for the website's functionality. - Adding a "Join Us" link to the navigation menu, providing a clear path for users to learn about opportunities to join the lab. - Updating the blog badge in the README.md file to reflect the correct URL for the lab's blog. These changes improve the user experience by making the navigation more intuitive and providing a direct link to the lab's blog.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes the following changes:
Update blog links to new domain: The changes update the blog links in the research page to point to the new domain
blogs.comphy-lab.orginstead of the oldblogs-comphy-lab.org. This ensures that the blog links are up-to-date and direct users to the correct location.Fetch blog content from Obsidian API: This change enhances the script to fetch blog content from the Obsidian API instead of parsing the README file. The new approach retrieves the site structure and then fetches the content for each published page, parsing the Markdown content to extract the title, content, and URL for each blog post and page. This provides a more robust and comprehensive way to index the blog content in the search database.
Update blog content fetch process: The changes in this commit update the process for fetching and indexing external blog content. The previous implementation used the Obsidian API to fetch blog content, which was complex and prone to issues. The new approach reads the blog content from a JSON file generated by a separate Node.js script, simplifying the Ruby script and making the blog content fetching more reliable and maintainable.
Improve search result display: This change improves the display of search results by truncating long content to a maximum of 200 characters, highlighting the search query terms in the title and content, removing the custom HTML handling for team member entries, and adjusting the styling of the result content and tags for a cleaner look. The goal is to provide a more concise and readable search result experience for users.
Update navigation links and blog badge: This commit updates the navigation links and the blog badge in the website. The changes include removing the "target="_blank"" attribute from the blog link, adding a "Join Us" link to the navigation menu, and updating the blog badge in the README.md file to reflect the correct URL for the lab's blog. These changes improve the user experience by making the navigation more intuitive and providing a direct link to the lab's blog.