Browse Source

Fix canonical urls

master
Nicolas Petton 3 years ago
parent
commit
4f7ace420f
Signed by: nico GPG Key ID: 233587A47C207910
6 changed files with 11 additions and 5 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -1
      _site/about/index.html
  3. +2
    -2
      _site/feed.xml
  4. +1
    -1
      _site/index.html
  5. +1
    -1
      _site/jekyll/update/2017/04/21/hello-world.html
  6. +5
    -0
      serve.sh

+ 1
- 0
.gitignore View File

@@ -1,2 +1,3 @@
.sass-cache
.jekyll-metadata
/_site/serve.sh

+ 1
- 1
_site/about/index.html View File

@@ -13,7 +13,7 @@

<link rel="stylesheet" href="/assets/main.css">
<link rel="stylesheet" href="/css/cafe.css">
<link rel="canonical" href="http://localhost:4000/about/">
<link rel="canonical" href="https://emacs.cafe/about/">
<link rel="alternate" type="application/rss+xml" title="Emacs café" href="/feed.xml">


+ 2
- 2
_site/feed.xml View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.4.3">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2017-04-22T08:40:47+02:00</updated><id>http://localhost:4000/</id><title type="html">Emacs café</title><subtitle>A blog about Emacs, mostly focused on JavaScript development, by Nicolas Petton.
</subtitle><entry><title type="html">M-x hello-world</title><link href="http://localhost:4000/jekyll/update/2017/04/21/hello-world.html" rel="alternate" type="text/html" title="M-x hello-world" /><published>2017-04-21T23:14:09+02:00</published><updated>2017-04-21T23:14:09+02:00</updated><id>http://localhost:4000/jekyll/update/2017/04/21/hello-world</id><content type="html" xml:base="http://localhost:4000/jekyll/update/2017/04/21/hello-world.html">&lt;p&gt;All blogs should begin with an introductory post, so here we go.&lt;/p&gt;
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.4.3">Jekyll</generator><link href="https://emacs.cafe/feed.xml" rel="self" type="application/atom+xml" /><link href="https://emacs.cafe/" rel="alternate" type="text/html" /><updated>2017-04-22T21:24:31+02:00</updated><id>https://emacs.cafe/</id><title type="html">Emacs café</title><subtitle>A blog about Emacs, mostly focused on JavaScript development, by Nicolas Petton.
</subtitle><entry><title type="html">M-x hello-world</title><link href="https://emacs.cafe/jekyll/update/2017/04/21/hello-world.html" rel="alternate" type="text/html" title="M-x hello-world" /><published>2017-04-21T23:14:09+02:00</published><updated>2017-04-21T23:14:09+02:00</updated><id>https://emacs.cafe/jekyll/update/2017/04/21/hello-world</id><content type="html" xml:base="https://emacs.cafe/jekyll/update/2017/04/21/hello-world.html">&lt;p&gt;All blogs should begin with an introductory post, so here we go.&lt;/p&gt;

&lt;p&gt;I’ve been willing to make a blog dedicated
to &lt;a href=&quot;http://gnu.org/software/emacs&quot;&gt;Emacs&lt;/a&gt; for a long time, but until now I


+ 1
- 1
_site/index.html View File

@@ -13,7 +13,7 @@

<link rel="stylesheet" href="/assets/main.css">
<link rel="stylesheet" href="/css/cafe.css">
<link rel="canonical" href="http://localhost:4000/">
<link rel="canonical" href="https://emacs.cafe/">
<link rel="alternate" type="application/rss+xml" title="Emacs café" href="/feed.xml">


+ 1
- 1
_site/jekyll/update/2017/04/21/hello-world.html View File

@@ -13,7 +13,7 @@

<link rel="stylesheet" href="/assets/main.css">
<link rel="stylesheet" href="/css/cafe.css">
<link rel="canonical" href="http://localhost:4000/jekyll/update/2017/04/21/hello-world.html">
<link rel="canonical" href="https://emacs.cafe/jekyll/update/2017/04/21/hello-world.html">
<link rel="alternate" type="application/rss+xml" title="Emacs café" href="/feed.xml">


+ 5
- 0
serve.sh View File

@@ -0,0 +1,5 @@
#!/bin/bash

cd "$(dirname "$0")" || exit 1

JEKYLL_ENV=production jekyll serve --incremental

Loading…
Cancel
Save