From 5a52a766935497cc89e947e1221e356dd687cb0e Mon Sep 17 00:00:00 2001 From: Ahmet Cecen <ahmetcecen@gmail.com> Date: Tue, 3 May 2016 10:52:28 -0400 Subject: [PATCH] Altmetric Initialize --- _config.yml | 9 +++++---- _data/members.yml | 10 +++++++++- _includes/altmetric.html | 6 ++++++ _layouts/default.html | 6 ++++++ _layouts/plysurface.html | 10 +++++++++- _layouts/projector.html | 10 ++++++++-- _layouts/slide.html | 6 ++++++ members.html | 4 ++-- 8 files changed, 51 insertions(+), 10 deletions(-) create mode 100644 _includes/altmetric.html diff --git a/_config.yml b/_config.yml index e775f72..8f3132c 100644 --- a/_config.yml +++ b/_config.yml @@ -4,14 +4,15 @@ title: Project Pages header-img: img/home-bg.jpg headercolor: "#FFFFFF" logo: /project-pages/img/logos/Project-Pages-New-Logo-Inverted.png -email: your-email@yourdomain.com -description: "Write your site description here. It will be used as your sites meta description as well!" +email: ahmetcecen@gmail.com +description: "An Integrated Scientific Blogging Template" baseurl: "/project-pages" -url: "http://ahmetcecen.github.io" -github_username: matin-hub +url: "http://projectpages.github.io" +github_username: projectpages project_repository: project-pages disqus_shortname: project-pages g-analytics: UA-75881392-1 +altmetric: true # Build settings # Don't change these variables diff --git a/_data/members.yml b/_data/members.yml index d4c315c..6cd3198 100644 --- a/_data/members.yml +++ b/_data/members.yml @@ -7,6 +7,7 @@ gplus: https://plus.google.com/+AhmetCecen-GPlus bio: Ahmet Cecen is currently pursuing a PhD in Computational Science and Engineering at Georgia Institute of Technology. He earned a bachelor’s degree in Mechanical Engineering at Drexel University. Ahmet has been doing research in the fields of computational materials science and materials informatics for the past 6 years, throughout his undergraduate and graduate studies. His current research focus is on leveraging statistical analysis and machine learning tools to solve big data analytics problems in materials science. url: http://ahmetcecen.github.io/ + visible: true - name: David Brough role: Data Scientist / Materials Informatics @@ -14,4 +15,11 @@ github: davidbrough1 bio: David is a PhD student in the School of Computational Science and Engineering at Georgia Institute of Technology. David earned a Master’s degree in experimental condensed matter physics at Brigham Young University where he fabricated and characterized thin-films and carbon nanotubes used in nanostructured high capacity battery electrodes and in X-ray windows. As an undergraduate, David studied theoretical physics and researched the evolution of chaotic systems using neural networks at Westminster College. He is a trainee in the NSF IGERT FLAMEL program, and one of the lead developers on PyMKS materials informatics toolkit. url: http://davidbrough.net - \ No newline at end of file + visible: true + +- name: Surya R. Kalidindi + role: Materials Informatics + img: https://avatars1.githubusercontent.com/u/6601815?v=3&s=400 + bio: Dr. Kalidindi’s research interests are broadly centered on designing material internal structure (including composition) for optimal performance in any selected application and identifying hybrid processing routes for its manufacture. To this end, he has employed a harmonious blend of experimental, theoretical, and numerical approaches in his research. + url: http://mined.gatech.edu/ + visible: false \ No newline at end of file diff --git a/_includes/altmetric.html b/_includes/altmetric.html new file mode 100644 index 0000000..d607f0a --- /dev/null +++ b/_includes/altmetric.html @@ -0,0 +1,6 @@ +<meta name="citation_title" content="Project Pages - An Integrated Scientific Blogging Template"> + +{% for member in site.data.members %} +<meta name="citation_author" content="{{ member.name }}"> + +{% endfor %} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 9bbee3e..50f1576 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,6 +1,12 @@ <!DOCTYPE html> <html lang="en"> +{% if site.altmetric == true %} + +{% include altmetric.html %} + +{% endif %} + {% include head.html %} <body> diff --git a/_layouts/plysurface.html b/_layouts/plysurface.html index bb2f1fa..5861f3f 100644 --- a/_layouts/plysurface.html +++ b/_layouts/plysurface.html @@ -2,8 +2,16 @@ <!DOCTYPE html> <html lang="en"> <head> - <title>{{ page.title }}</title> + <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> <meta charset="utf-8"> + + {% if site.altmetric == true %} + + {% include altmetric.html %} + + {% endif %} + + <style> body { margin: 0px; diff --git a/_layouts/projector.html b/_layouts/projector.html index f7dd8b1..f30cda4 100644 --- a/_layouts/projector.html +++ b/_layouts/projector.html @@ -1,11 +1,17 @@ <!DOCTYPE html> <html lang="en"> <head> - <title>DataProjector</title> + <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> + + {% if site.altmetric == true %} + + {% include altmetric.html %} + + {% endif %} - <link rel="stylesheet" type="text/css" href="{{ "/plugin/projector/DataProjector.css" | prepend: site.baseurl }}"> + <link rel="stylesheet" type="text/css" href="{{ "/plugin/projector/DataProjector.css " | prepend: site.baseurl }}"> {% include analytics.html %} diff --git a/_layouts/slide.html b/_layouts/slide.html index eb8a3d9..27a1a6d 100644 --- a/_layouts/slide.html +++ b/_layouts/slide.html @@ -5,6 +5,12 @@ <meta charset="utf-8"> <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> + + {% if site.altmetric == true %} + + {% include altmetric.html %} + + {% endif %} <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> diff --git a/members.html b/members.html index 5a33f6a..ee0ddbf 100644 --- a/members.html +++ b/members.html @@ -6,7 +6,7 @@ header-img: "img/home-bg.jpg" --- <hr> -{% for member in site.data.members %} +{% for member in site.data.members %} {% if member.visible == true %} <img src="{{ member.img }}" style="margin-top:0px; margin-bottom:5px; margin-right:10px; float:left; width:150px !important"> @@ -32,5 +32,5 @@ header-img: "img/home-bg.jpg" <hr> -{% endfor %} +{% endif %}{% endfor %} -- GitLab