Fix "github" references

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-01-15 21:31:37 +05:30
parent 63d988145f
commit 234e76b3b6
3 changed files with 4 additions and 2 deletions

View file

@ -8,6 +8,8 @@ title: Contact
[Linkedin](https://in.linkedin.com/in/sanchayan-maity-57235953)
[GitLab](https://gitlab.com/SanchayanMaity)
[Github](https://github.com/SanchayanMaity)
You can contact me on maitysanchayan@gmail.com

View file

@ -84,7 +84,7 @@ main = hakyllWith config $ do
compile $ do
posts <- recentFirst =<< loadAll "posts/*"
let sitemapCtx =
constField "baseUrl" "sanchayanmaity.github.io" `mappend`
constField "baseUrl" "sanchayanmaity.gitlab.io" `mappend`
constField "title" "Sitemap" `mappend`
listField "posts" postCtx (return posts) `mappend`
postCtx

View file

@ -2,7 +2,7 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
$for(posts)$
<url>
<loc>http://sanchayanmaity.github.io$url$</loc>
<loc>http://sanchayanmaity.gitlab.io$url$</loc>
<changefreq>weekly</changefreq>
$if(dateMap)$<lastmod>$dateMap$</lastmod>$endif$
<priority>0.8</priority>