Skip to content

Redirect when a folder contains only a single file#11

Merged
DannyBen merged 2 commits intomasterfrom
redirect
Jun 12, 2016
Merged

Redirect when a folder contains only a single file#11
DannyBen merged 2 commits intomasterfrom
redirect

Conversation

@DannyBen
Copy link
Copy Markdown
Owner

@DannyBen DannyBen commented Jun 12, 2016

This PR adds and fixes several issues:

  • Redirect directly to the file, when it is the only one in the folder and there is no README in the folder
  • Add debug log facility - just use log something anywhere. Output is in madness.log
  • Added favicon stand-in, just to prevent the requests from being empty and interfering with debugging
  • Add HTML title - will now show the name of the document instead of "Sinatra Baseline".
  • Remove debug local from the server and view
  • Add #title to the Document object. Used in the Auto H1 and HTML title
  • Closes Auto show only file in a folder #7

@DannyBen DannyBen merged commit c47134d into master Jun 12, 2016
@DannyBen DannyBen deleted the redirect branch June 12, 2016 14:04
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.

Auto show only file in a folder

1 participant