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

Add OpenGraph Protocol Support #147

Merged
merged 1 commit into from Mar 4, 2019

Conversation

Projects
None yet
2 participants
@spaz926
Copy link
Contributor

spaz926 commented Mar 2, 2019

Prerequisites

  • This pull request fixes a bug.
  • This pull request adds a feature.
  • This pull request introduces breaking change.

Description

Add OpenGraph Protocol support. OpenGraph Protocol is used by sites like Facebook to display a rich object in a social graph.

General

  • Add OpenGraph Protocol to each page

Hugo has an internal template for Open Graph. It takes necessary information from either site's or post's config thus it makes sense to add it to each page.

  • Add 'series' to posts archetype
    This taxonomy is used to specify related “see also” pages by placing them in the same series.

  • Add series taxonomy to exampleSite config.

  • Add example of series to exampleSite

Contributors

  • Add spaz926 to Contributors
Add OpenGraph to each page
OpenGraph Protocol is used by sites like Facebook to display a rich object in a social graph.

* Add OpenGraph Protocol to each page

Hugo has an internal template for [Open Graph](https://gohugo.io/templates/internal/#open-graph). It takes necessary information from either site's or post's config thus it makes sense to add it to each page.

* Add 'series' to posts archetype
This taxonomy is used to specify related “see also” pages by placing them in the same series.

* Add series taxonomy to exampleSite config.

* Add example of series to exampleSite

* Add spaz926 to Contributors
@luizdepra

This comment has been minimized.

Copy link
Owner

luizdepra commented Mar 4, 2019

Nice! Thank you.
We need some more steps to consider the series feature done:

  1. Create a See also section at the end of posts and pages.
  2. Check if the series list pages are ok. And make changes if necessary.
  3. Translate series to Portuguese. (Hint: It is séries).

If you want to do any or all of these its, let me know.

@luizdepra luizdepra merged commit 944092c into luizdepra:master Mar 4, 2019

1 check passed

deploy/netlify Deploy preview ready!
Details
@spaz926

This comment has been minimized.

Copy link
Contributor Author

spaz926 commented Mar 6, 2019

@luizdepra I'm don't think I'm proficient enough with HTML to get a See also section built.

@spaz926 spaz926 deleted the spaz926:opengraph branch Mar 6, 2019

@luizdepra

This comment has been minimized.

Copy link
Owner

luizdepra commented Mar 6, 2019

No problem. Ty. :)

@josephting josephting referenced this pull request Mar 7, 2019

Closed

Expand Series Functionality #150

3 of 3 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.