-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Dev - Title Missing on Voting Page #720
Comments
Hey @johnstew, I can take this PR. What should the title be? Influence or Vote? I agree that this is good for SEO. |
Why does this change not set the HTML title in diff --git a/antwar.config.js b/antwar.config.js
index aa174f68..1cb9c884 100644
--- a/antwar.config.js
+++ b/antwar.config.js
@@ -150,24 +150,28 @@ module.exports = {
),
vote: {
+ title: 'Vote',
path() {
return require('./components/vote/list.jsx').default
}
},
'vote/feedback': {
+ title: 'Vote',
path() {
return require('./components/vote/list.jsx').default
}
},
'vote/moneyDistribution': {
+ title: 'Vote',
path() {
return require('./components/vote/list.jsx').default
}
},
organization: {
+ title: 'Organization',
path() {
return require('./components/organization/organization.jsx').default
} |
Agreed with the idea @simon04, but it appears from what I see (exposing some ignorance) that the vote is not set-up in the paths/section area of the config. It may be a file structure thing too. But again, exposing ignorance. I'll submit two PRs to address through styling and HTML. |
https://webpack.js.org/vote/ still has no HTML title set: <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!-- ... --> Help on #720 (comment) is appreciated. |
@simon04 Look into |
That's what I tried in #720 (comment). Am I missing/overlooking something? |
@simon04 The titles are taken into account only for the final build. |
Final build is |
@simon04 Ok, it might be a bug in the generator then. It probably applies the template a little differently in this particular case (different |
Agreed, my approaches were cosmetic, but, a different path definition should work. Is there a way that the vote page could be added to the section in |
Created an issue over at antwarjs/antwar#127 for this with more details. |
@bebraw seeing as antwarjs/antwar#127 is done, can you test and close this once you release and bump the antwar version over here? |
The title is missing on the vote page.
Smallissue but good for SEO.The text was updated successfully, but these errors were encountered: