1. 23 Nov, 2017 1 commit
    • Ludovic Courtès's avatar
      Show latest news on front page. · a58be21e
      Ludovic Courtès authored
      * getting-started.md: Nitpick.
      * guix-hpc.scm (base-layout): Add #:posts and #:site.
      [post->brief]: New procedure.
      Use it to generate a "latest news" block on the front page.
      (read-markdown-page): Add 'posts' and 'site' parameters and pass them to
      'base-layout'.
      (static-pages): Return lambdas.
      * haunt.scm: Remove 'map' around 'static-pages' call.
      * static/css/main.css (.latest-news): New.
      (.news-brief): New.
      a58be21e
  2. 28 Sep, 2017 1 commit
  3. 22 Sep, 2017 3 commits
  4. 18 Sep, 2017 4 commits
    • Ludovic Courtès's avatar
      Use guile-syntax-highlight for Scheme snippets. · 74fe39de
      Ludovic Courtès authored
      * guix-hpc.scm (%default-special-prefixes)
      (lex-scheme/guix): New variables.
      (syntax-highlight): New procedure.
      (read-markdown-page): Call 'syntax-highlight'.
      * haunt.scm (post->sxml): Likewise.
      * static/css/code.css: New file.
      * static/css/main.css: Import it.
      * guix.scm (guile-syntax-highlight): New variable.
      Use it.
      74fe39de
    • Ludovic Courtès's avatar
      Move "/about.html" to "/about/index.html". · 8fee7202
      Ludovic Courtès authored
      * guix-hpc.scm (base-layout): Adjust link to "/about".
      (static-pages): Build "about/index.html" instead of "about.html".
      * nginx-locations.conf (location): Add 301 redirect.
      8fee7202
    • Ludovic Courtès's avatar
      Use pretty URLs for blog posts. · c1097936
      Ludovic Courtès authored
      * guix-hpc.scm (post-url): Add the year and month to the post URL.
      * haunt.scm (post->page): New procedure.
      <top-level>: Use custom procedures instead of 'blog'.
      * nginx-locations.conf: Add redirect for 'guix-hpc-debut.html'.
      c1097936
    • Ludovic Courtès's avatar
      Change home page, move blog to "/blog". · 3679d577
      Ludovic Courtès authored
      * getting-started.md: Add title, link to /blog.
      * guix-hpc.scm (image-url, css-url): Add leading /.
      (post-url): Add "/blog".
      (base-layout): Add "Blog", change feed URL.
      (about-page): Remove.
      (static-pages)[markdown-page]: New procedure.
      Use it.  Add "getting-started".
      * nginx-locations.conf: Add redirects.
      3679d577
  5. 04 Sep, 2017 1 commit
  6. 10 Jul, 2017 2 commits
  7. 12 Jun, 2017 4 commits
    • Ludovic Courtès's avatar
      Add a baseline below the logo. · 220a6316
      Ludovic Courtès authored
      * guix-hpc.scm (base-layout): Add a baseline below the logo.
      * static/css/main.css (#header): Increase height.
      (#header .baseline): New.
      220a6316
    • Ludovic Courtès's avatar
      Remove Guile plug in the footer. · 4fe21124
      Ludovic Courtès authored
      * guix-hpc.scm (base-layout): Replace Guile plug in footer with a link
      to the source.
      4fe21124
    • Ludovic Courtès's avatar
      Add "About" page. · c94ac7e7
      Ludovic Courtès authored
      * haunt.scm (base-layout): Move to...
      * guix-hpc.scm (base-layout): ... here.  Add #:title parameter.
      (read-markdown-page): New procedure.
      (about-page): Use it.
      (static-pages): Use 'sxml->html' instead of 'sxml->xml'.
      * about.md: Fix URL to post.
      c94ac7e7
    • Ludovic Courtès's avatar
      Move URL helpers to (guix-hpc). · 7b13f228
      Ludovic Courtès authored
      * haunt.scm (base-url, image-url, css-url, post-url): Move to...
      * guix-hpc.scm: ... here.
      7b13f228
  8. 12 May, 2017 1 commit