~ane/web

76570dbb980972deb913840ccac3f0110a716d95 — Antoine Kalmbach 4 months ago 0e3e3d2
issue github redirect code
2 files changed, 8 insertions(+), 6 deletions(-)

M .build.yml
M _layouts/default.html
M .build.yml => .build.yml +5 -5
@@ 20,11 20,11 @@ tasks:
      cd web
      bundle install
      bundle exec jekyll build
  - package: |
      cd web/_site
      tar -cvz . > ../../site.tar.gz
  - upload: |
      acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz	
  # - package: |
      # cd web/_site
      # tar -cvz . > ../../site.tar.gz
  # - upload: |
      # acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz	
  - push: |
      cd web/_site
      git init .

M _layouts/default.html => _layouts/default.html +3 -1
@@ 25,7 25,9 @@
    {% endif %}
    <link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />

    <link type="application/atom+xml" rel="alternate" href="http://ane.github.io/feed.xml" title="Antoine Kalmbach's website" />
    <link type="application/atom+xml" rel="alternate" href="{{ site.url }}/feed.xml" title="Antoine Kalmbach's website" />
    <meta http-equiv="refresh" content="0; url={{ site.url }}{{ page.url }}" />
    <link rel="canonical" href="{{ site.url }}{{ page.url }}"/>
    <meta charset="utf-8">
    <meta name="HandheldFriendly" content="True" />
    <meta name="MobileOptimized" content="320" />