diff --git a/README.md b/README.md index 066f7df5..a2099b3c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # MDAnalysis Web Site -The home page [www.mdanalysis.org](http://www.mdanalysis.org) is maintained as +The home page [www.mdanalysis.org](https://www.mdanalysis.org) is maintained as a [GitHub pages](https://pages.github.com) site. The home page is also -accessible as [mdanalysis.github.io](http://mdanalysis.github.io). +accessible as [mdanalysis.github.io](https://mdanalysis.github.io). -## Blog [blog.mdanalysis.org](http://blog.mdanalysis.org) +## Blog [blog.mdanalysis.org](https://blog.mdanalysis.org) Check out the repository, edit the pages under `_posts`, and push commits. The published pages are on the *master* branch. @@ -66,13 +66,13 @@ including MathJax. Drop images into the `public/images` directory and include them like ```html - alternative text ``` or use Markdown ```markdown -![alternative text]({{site.images}}imagename.png) +![alternative text]({{site.images}}/imagename.png) ``` diff --git a/_config.yml b/_config.yml index 4a1c3f1d..77d5fed0 100644 --- a/_config.yml +++ b/_config.yml @@ -11,16 +11,18 @@ name: MDAnalysis tagline: A Python package for the analysis of molecular dynamics simulations. description: A Python package for the analysis of molecular dynamics simulations. url: https://www.mdanalysis.org -baseurl: / +# leave baseurl empty, +# see https://github.com/MDAnalysis/MDAnalysis.github.io/issues/16#issuecomment-385572553 +baseurl: author: name: The MDAnalysis Team url: https://twitter.com/mdanalysis email: mdnalysis-devel@googlegroups.com -images: /public/images/ +images: /public/images data: /public/data js: /js -blog: /blog/ +blog: /blog # see https://help.github.com/articles/adding-jekyll-plugins-to-a-github-pages-site/ gems: @@ -65,3 +67,6 @@ twitter: url: https://twitter.com/mdanalysis +algolia: + index_name: mdanalysis + read_only_api_key: 307d780013d06fdde7a4eae462db0e74 diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 00000000..79e27887 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/_includes/head.html b/_includes/head.html index 8ff010fe..413d151e 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -37,6 +37,9 @@ anchors.add('h1, h2, h3, h4, h5, h6'); }); + + +