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

Show icon next to sub-headings. #7

Merged
merged 2 commits into from Aug 11, 2021
Merged

Show icon next to sub-headings. #7

merged 2 commits into from Aug 11, 2021

Conversation

Idadelveloper
Copy link
Contributor

This is to help enable easy link sharing to specific sections of the content. It addresses this issue

Signed-off-by: Ida Delphine <mida@unicef.org>
Signed-off-by: Ida Delphine <mida@unicef.org>
Copy link
Member

@jwflory jwflory left a comment

Choose a reason for hiding this comment

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

Awesome! This looks great @Idadelveloper 🥳 Approved!

There is a bug I noticed where when you click one of the header links, the heading is hidden underneath the menu bar at the top. But this bug was not introduced by this change, it is an issue somewhere else in the theme. This is a nice-to-have improvement if we get a chance to revisit later.

Closes unicef/inventory#31. Merging! 🎬

@jwflory jwflory merged commit 8da139e into unicef:main Aug 11, 2021
@jwflory jwflory self-assigned this Aug 11, 2021
@jwflory jwflory added the T: improvement Improves on something that already exists label Aug 11, 2021
@jwflory jwflory added this to In progress in (deprecated) Open Source @ OoI via automation Aug 11, 2021
@jwflory jwflory moved this from In progress to Done in (deprecated) Open Source @ OoI Aug 11, 2021
jwflory added a commit to unicef/inventory that referenced this pull request Aug 11, 2021
This commit updates the theme submodule to include icons to copy the
location of a specific sub-heading on a page. This was added by
@Idadelveloper in unicef/inventory-hugo-theme#7.

Closes #31.

Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <jflory@unicef.org>
jwflory pushed a commit that referenced this pull request Aug 13, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Sep 10, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Sep 15, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Oct 10, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Oct 13, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Oct 14, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Nov 19, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Nov 23, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
jwflory pushed a commit that referenced this pull request Dec 22, 2021
* layouts: Add icon to next to sub-headings

Signed-off-by: Ida Delphine <mida@unicef.org>

* assets: Styles for the icon next to sub-heading

Signed-off-by: Ida Delphine <mida@unicef.org>

Co-authored-by: Ida Delphine <mida@unicef.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: improvement Improves on something that already exists
Development

Successfully merging this pull request may close these issues.

None yet

2 participants