         cwd: 'app/'
         src: ['**/*.pug', '!**/include/**']
         dest: 'public/'
+        # The default extDot chops off more than the trailing .pug, e.g.:
+        #   src/collections.view.pug -> public/collections.html
+        # We want to preserve the filename up to .pug, e.g.:
+        #   src/collections.view.pug -> public/collections.view.html
+        extDot: 'last'
 
     markdown:
       default:

        src: ['**/*.coffee']
        dest: 'public/'

    jade:
      options:
        pretty: true
      default:

        cwd: 'app/'
        src: ['**/*.ts']
        dest: 'public/'
        # See the pug extDot comment.
        extDot: 'last'

    coffee:
      default:
