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. 20 Nov, 2017 1 commit
  3. 22 Sep, 2017 4 commits
  4. 18 Sep, 2017 3 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
      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. 07 Sep, 2017 1 commit
    • Ludovic Courtès's avatar
      Improve <title>. · 1dd82910
      Ludovic Courtès authored
      * haunt.scm (%web-site-title): New variable.
      (%hpc-haunt-theme): Pass it to 'base-layout'.
      <site>: Ditto.
      1dd82910
  6. 12 Jun, 2017 3 commits
  7. 29 May, 2017 1 commit
    • Ludovic Courtès's avatar
      Use 'base-url' everywhere. · c0e611e3
      Ludovic Courtès authored
      This allows 'WEB_SITE_LOCAL=t' builds to work as expected.
      
      * haunt.scm (base-url): Make 'location' a rest argument.
      (image-url, css-url): Define in terms of 'base-url'.
      (post-url): Remove 'string-append'.
      c0e611e3
  8. 24 May, 2017 1 commit
    • Roel Janssen's avatar
      Add theme. · 49885bc9
      Roel Janssen authored
      * haunt.scm: Add %hpc-haunt-theme and use it.
      49885bc9
  9. 20 May, 2017 1 commit
    • Roel Janssen's avatar
      Add a theme and its static resources. · 85989ffd
      Roel Janssen authored
      * haunt.scm: Add page structure code
      * images-ousrces/background.xcf: New file.
      * images-ousrces/inria.xcf: New file.
      * images-ousrces/mdc.xcf: New file.
      * images-ousrces/umcutrecht.xcf: New file.
      * static/css/main.css: New file.
      * static/fonts/FiraMono-Regular.ttf: New file.
      * static/fonts/OFL.txt: New file.
      * static/fonts/Roboto-Bold.ttf: New file.
      * static/fonts/Roboto-Light.ttf: New file.
      * static/fonts/Roboto-LightItalic.ttf: New file.
      * static/images/background.png: New file.
      * static/images/favicon.png: New file.
      * static/images/feed.png: New file.
      * static/images/h-separator-darker.png: New file.
      * static/images/inria.png: New file.
      * static/images/logo.png: New file.
      * static/images/mdc.png: New file.
      * static/images/umcutrecht.png: New file.
      85989ffd
  10. 12 May, 2017 1 commit