Skip to content
  1. Nov 16, 2014
    • Raniere Silva's avatar
      Fix template layout · df30e97c
      Raniere Silva authored
      The body variable at Pandoc template **must** not be indented
      because the indentation will propagate into the HTML.
      
      Example:
      
          $ cat page.html
          <!DOCTYPE html>
          <html>
            <body>
              $body$
            </body>
          </html>
          $ pandoc -s -t html --template=page -o sample.html sample.md
          $ cat sample.html
          <!DOCTYPE html>
          <html>
            <body>
              <pre><code>def foo():
                  return None</code></pre>
            </body>
          </html>
      
      Solution:
      
          $ cat fix.html
          <!DOCTYPE html>
          <html>
            <body>
          $body$
            </body>
          </html>
          $ pandoc -s -t html --template=fix -o sample-fix.html sample.md
          $ cat sample-fix.html
          <!DOCTYPE html>
          <html>
            <body>
          <pre><code>def foo():
              return None</code></pre>
            </body>
          </html>
      df30e97c
    • Raniere Silva's avatar
      Merge pull request #24 from gvwilson/fixing-display-of-commands · 6753e095
      Raniere Silva authored
      Changing sed command used to display help from Makefile.
      6753e095
  2. Nov 15, 2014
  3. Nov 14, 2014
  4. Nov 13, 2014
  5. Nov 12, 2014
  6. Nov 11, 2014
  7. Nov 10, 2014
  8. Nov 09, 2014
    • Greg Wilson's avatar
      Bringing in description of lesson structure · f870b063
      Greg Wilson authored
      f870b063
    • Greg Wilson's avatar
      Rationalizing tools. · 2b92504e
      Greg Wilson authored
      1. Moving all commands into a Makefile (because we're handling file dependencies, and that's the right tool for it).
      2. Ignoring the .html files produced in the root directory for now.
      3. Switching to a single layout modeled on that used for workshop websites - will need to update this.
      2b92504e
    • Greg Wilson's avatar
      Reorganizing material to put page source in sub-directory: · da5fc640
      Greg Wilson authored
      * Add `.nojekyll` to stop GitHub trying to compile.
      * Get rid of Jekyll `_config.yml`.
      * Create placeholder `css` and `img` directories.
      * Create `pages` directory with source for web pages.
      * Move all Markdown files into `pages`.
      * Move `tools` into `pages` (because that's where people will mostly work).
      * Move `_includes` and `_layouts` into `pages` (because that's where we'll compile).
      da5fc640
  9. Nov 05, 2014
  10. Oct 23, 2014