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

Moved hardcoded text titles to _config.yml #10

Merged
merged 5 commits into from
Jan 31, 2018

Conversation

samcolby
Copy link
Contributor

@samcolby samcolby commented Dec 8, 2017

Set up new html_title, html_subtitle and about_header config values to remove a bit more hardcoding.

_config.yml Outdated
@@ -7,7 +7,10 @@ google_analytics: "UA-46465113-2"
# UI configs
title: "Photography by Ram Patra"
subtitle: "See the world through my eyes!"
html_title: "Photography"
Copy link
Owner

Choose a reason for hiding this comment

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

I see that title and subtitle aren't used anywhere so we can reuse them.

_config.yml Outdated
author: "Ram Patra"
about_header: "Hey there, my name is Ram"
Copy link
Owner

@rampatra rampatra Dec 9, 2017

Choose a reason for hiding this comment

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

We can have all these 3 as sub-configs under about like:

about:
 header:
 bio:
 publicise:

@samcolby
Copy link
Contributor Author

samcolby commented Dec 9, 2017

Yes, happy to change the names of these

title is used in header.html

Was subtitle was originally intended to be used for the meta description tag?

No issues with the other change, I'll take a look at it.

Sam

@j3soon j3soon mentioned this pull request Jan 29, 2018
@rampatra rampatra merged commit cc3929b into rampatra:master Jan 31, 2018
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.

3 participants