1. 28 Oct, 2018 4 commits
    • Erik Huelsmann's avatar
      ae248202
    • Erik Huelsmann's avatar
      Pass all available context to the content processing phase · d70d88b8
      Erik Huelsmann authored
      Note that we no longer write the newsbox.html file, but instead
      put the content into the global context. Thus the global context
      needs to be passed to the expansion of the 'index.html' content.
      And if there, why not everywhere? (It'll open possibilities we
      haven't thought of yet...)
      d70d88b8
    • Erik Huelsmann's avatar
      Stop writing the newsbox to disk (but use global context instead) · 361f8ee2
      Erik Huelsmann authored
      Note that the only remaining intermediate result being written
      to the 'input directory' content/, is the newsbox.html file
      due to it being a mustache partial.
      This commit 'publishes' the content to the global context instead
      and at the same time converts index.html to use a variable
      expansion. Thereby the need to write newsbox.html to disk has
      now been removed and so is the actual process.
      361f8ee2
    • Erik Huelsmann's avatar
      Compensate the news generator for input change · 4df7db00
      Erik Huelsmann authored
      Note that the news box generator used to receive just the 'main'
      tag's content whereas it now receives the entire HTML document.
      We need to expand the parser to extract the part it originally
      received and process that like we used to.
      4df7db00
  2. 27 Oct, 2018 16 commits
  3. 26 Oct, 2018 6 commits
  4. 25 Oct, 2018 1 commit
  5. 22 Oct, 2018 5 commits
  6. 21 Oct, 2018 4 commits
    • Dave Cooper's avatar
    • Dave Cooper's avatar
      Remove destination static file, if it exists, before copying · 05dc4263
      Dave Cooper authored
      Because on some implementations, uiop:copy-file will not overwrite
      existing files, we explicitly remove existing destination files before
      copying with uiop:copy-file.
      05dc4263
    • Dave Cooper's avatar
      Fixes cl-markdown TOC crash and issue with directory source listing. · 9f73f074
      Dave Cooper authored
      1. cl-markdown was crashing on its TOC processing on CL
         implementations (e.g. SBCL 1.4.*+) which have DESTRUCTURING-BIND
         treat non-toplevel () as a nested empty pattern, rather than just a
         shorthand for an ignored item as sometimes was being done in older,
         non-conforming code. The patch introduced by this commit fixes
         these non-comforming instances in CL-MARKDOWN. Note that
         CL-MARKDOWN is not using multiple-value-bind directly, but rather
         relies on the "metabang.bind" system - so maybe it can be fixed
         there. As noted in patches.lisp, a merge request has been lodged
         against cl-markdown. They are the same author as metabang.bind, so
         they can decide whether to accept this MR or fix it in
         metabang.bind instead.
      
      2. On some implementations, the `process-static` function in
         `process.lisp` was spuriously picking up subdirectories in its
         `sources` list (where it expected just a list of source files). Now
         we are filtering out anything which looks like a directory (i.e. a
         non-file directory entry) by using
         `uiop:/filesystem:directory-exists-p`.
      9f73f074
    • Erik Huelsmann's avatar
      Merge branch 'markdown' into 'master' · 8fa6d5e6
      Erik Huelsmann authored
      Markdown
      
      Closes #9
      
      See merge request clo/cl-site!54
      8fa6d5e6
  7. 20 Oct, 2018 4 commits