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

Create Donation Page for WNAH FR Activities #834

Merged
merged 8 commits into from
Nov 16, 2023

Conversation

AfiMaameDufie
Copy link
Collaborator

Changes :

  • Replicated and tweaked donate-form and donate pages for WNAH's Donate page ( _includes/wna-donate-form and _layouts/donate-wna)
  • Added image of a past project for the page.
  • On Siteleaf, created the Donate page with the path : "/hubs/open-mapping-hub-west-and-northern-africa/donate"

This will be used on the WNA Hub's Donate Page.
Replicated and tweaked the Donate Layout Page to provide one for the WNA Hub to support upcoming FR efforts.
Copy link
Member

@dakotabenjamin dakotabenjamin left a comment

Choose a reason for hiding this comment

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

  1. The files need to have .html attached in a similar fashion to the older layout and includes files
  2. The image you included is not referenced correctly. I will add more comments in-line.
  3. The siteleaf changes will need some revision. rather than put the markdown file in the /hubs folder, place it in the root directory and add the following lines to the head matter:
layout: donate-wna
permalink: "/hubs/open-mapping-hub-west-and-northern-africa/donate/"

_includes/wna-donate-form Outdated Show resolved Hide resolved
_layouts/donate-wna Outdated Show resolved Hide resolved
_layouts/donate-wna Outdated Show resolved Hide resolved
@dakotabenjamin
Copy link
Member

Oh and you will also want to update the Donate link on the WNA hub page: https://github.com/hotosm/hotosm-website/blob/gh-pages/hubs/open-mapping-hub-west-and-northern-africa.markdown?plain=1#L9

@AfiMaameDufie
Copy link
Collaborator Author

Oh and you will also want to update the Donate link on the WNA hub page: https://github.com/hotosm/hotosm-website/blob/gh-pages/hubs/open-mapping-hub-west-and-northern-africa.markdown?plain=1#L9

Oops, yep. Doing that now.

Appended ".html" to match previous files
Appended ".html" to match previous file format.
Fixed the PATH for the image
Corrected the donate form name
Added layout and permalink to head matter
@AfiMaameDufie
Copy link
Collaborator Author

  1. The files need to have .html attached in a similar fashion to the older layout and includes files
  2. The image you included is not referenced correctly. I will add more comments in-line.
  3. The siteleaf changes will need some revision. rather than put the markdown file in the /hubs folder, place it in the root directory and add the following lines to the head matter:
layout: donate-wna
permalink: "/hubs/open-mapping-hub-west-and-northern-africa/donate/"

Changed directory of the md file(took out the "hubs") so it's now open-mapping-hub-west-and-northern-africa/donate/.

@dakotabenjamin dakotabenjamin merged commit d704091 into hotosm:gh-pages Nov 16, 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.

None yet

2 participants