Closed modpluz closed 7 years ago
@lottspot, @crsmyz See the changes in this PR and let me know your thoughts.
Notes:
Everything with regards to initial setup instructions of the base fork stays the same.
After setup, you should then be able to navigate to http://YOUR_HOST/candidates.html?slug=candidate-slug.
http://YOUR_HOST/candidates.html?slug=candidate-slug
As at the time of this writing and as far as I know, only the candidate slug lawrence-s-krasner has data - @enactdev, correct me if I'm wrong on this.
lawrence-s-krasner
The implementations in this PR is also compatible with SEO friendly urls. e.g. /candidates/lawrence-s-krasner.
/candidates/lawrence-s-krasner
Add the below to your nginx config to enable the feature mentioned above. rewrite ^/candidates/(.*)$ /candidate-detail.html?slug=$1 last;
rewrite ^/candidates/(.*)$ /candidate-detail.html?slug=$1 last;
@lottspot, @crsmyz See the changes in this PR and let me know your thoughts.
Notes:
Everything with regards to initial setup instructions of the base fork stays the same.
After setup, you should then be able to navigate to
http://YOUR_HOST/candidates.html?slug=candidate-slug
.As at the time of this writing and as far as I know, only the candidate slug
lawrence-s-krasner
has data - @enactdev, correct me if I'm wrong on this.The implementations in this PR is also compatible with SEO friendly urls. e.g.
/candidates/lawrence-s-krasner
.Add the below to your nginx config to enable the feature mentioned above.
rewrite ^/candidates/(.*)$ /candidate-detail.html?slug=$1 last;