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

Move photos to `/photos` #6

merged 5 commits into from May 24, 2016

Move photos to `/photos` #6

merged 5 commits into from May 24, 2016


Copy link

@fofr fofr commented May 24, 2016

Allow the site to use other content types, such as sets, albums and blog posts.

  • Move /2011-01/thing to /photos/thing
  • Add redirects for all URLs
  • Create before_render filter to decorate post object with all the necessary image sources, cleaning up the views in the process
fofr added 5 commits May 24, 2016
* Stop using date prefixes in permalinks
Add filename, image, thumbnail, etc to the post object, rather than
manipulating in the view directly, or by using helpers.
* Make sure all old photo URLs continue to work
* Tested with
* Redirect /photos/ slug to the all photos view
@fofr fofr merged commit c042d58 into master May 24, 2016
@fofr fofr deleted the move-photos branch May 24, 2016
fofr added a commit to fofr/ that referenced this pull request Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.