Skip to content

add header links #3863

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

Merged
merged 1 commit into from
Jan 5, 2023
Merged

add header links #3863

merged 1 commit into from
Jan 5, 2023

Conversation

ndd7xv
Copy link
Contributor

@ndd7xv ndd7xv commented Dec 6, 2022

Fixes #3669 if merged

Hi again! Same author of the dark mode draft PR; basically just searched up how to add anchors in pelican and used the first link with some documentation to get the following result:

image

Again, no experience with UI and my design choices are subjective, but I chose to have a permalink with this specific css to prevent it from being to obtrusive and taking the same colors as other links, while also making it easy to find.

Let me know if there's anything I can/should change!

@ndd7xv ndd7xv force-pushed the anchor-headers branch 3 times, most recently from d7d9795 to 846bdf2 Compare December 7, 2022 02:22
@ndd7xv
Copy link
Contributor Author

ndd7xv commented Dec 7, 2022

Also note that I disabled in the newsletter because they were relative linking; the link in the README is dead (http://zurb.com/ink/inliner.php) but I tried testing the inline emails by creating an account with app.postdrop.io

@nellshamrell
Copy link
Contributor

Ty so much! I will get this reviewed either before or during the weekend!

@nellshamrell
Copy link
Contributor

Taking a look now!

@nellshamrell
Copy link
Contributor

Hi there! Ty so much for this! Is there any way to make the text of the header the anchor, rather than adding the anchor symbol to the end of the header?

@ndd7xv
Copy link
Contributor Author

ndd7xv commented Dec 13, 2022

Thanks for the review! Made the text the anchor and overrode its color to remain the same as before instead of having it turn blue like the other hyperlinks.

Let me know if there's anything else!

@nellshamrell
Copy link
Contributor

This looks FANTASTIC! Ty so much @ndd7xv! Merging!

@nellshamrell nellshamrell merged commit 170cbd9 into rust-lang:master Jan 5, 2023
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.

Add anchors for headers
2 participants