Commit f929c240 authored by cermak's avatar cermak
Browse files

Added publications

parent ff397ae4
Pipeline #5187 failed
......@@ -14,6 +14,18 @@ before_script:
- chmod 700 ~/.ssh
- echo "ssh-rsa ${SSH_PUBLIC_KEY} ${CI_EMAIL}" >> ~/.ssh/id_rsa.pub
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- mkdir -p fhg
- echo "{ 'all': [" > publications.json
- curl -X GET "https://publons.com/api/v2/academic/publication/?academic=1375240&page=1" -H "Authorization: Token ${PUBLONS_TOKEN}" -H "Content-Type: application/json" >> publications.json
- echo ", " >> publications.json
- curl -X GET "https://publons.com/api/v2/academic/publication/?academic=1375240&page=2" -H "Authorization: Token ${PUBLONS_TOKEN}" -H "Content-Type: application/json" >> publications.json
- echo ", " >> publications.json
- curl -X GET "https://publons.com/api/v2/academic/publication/?academic=1375240&page=3" -H "Authorization: Token ${PUBLONS_TOKEN}" -H "Content-Type: application/json" >> publications.json
- echo ", " >> publications.json
- curl -X GET "https://publons.com/api/v2/academic/publication/?academic=1375240&page=4" -H "Authorization: Token ${PUBLONS_TOKEN}" -H "Content-Type: application/json" >> publications.json
- echo ", " >> publications.json
- curl -X GET "https://publons.com/api/v2/academic/publication/?academic=1375240&page=5" -H "Authorization: Token ${PUBLONS_TOKEN}" -H "Content-Type: application/json" >> publications.json
- echo "] }" >> publications.json
test:
stage: test
......
This diff is collapsed.
<footer class="c-main-footer js-main-footer">
{%- if page.showMap -%}
<div id="contact-map" class="c-main-footer__map">
</div>
{%- endif -%}
<div class="c-main-footer__top o-container js-main-footer-top"></div>
<div class="c-main-footer__bottom js-main-footer-bottom">
<p class="c-main-footer__text">Petr Čermák. Copyright 2018-2020.</p>
......
......@@ -3,6 +3,8 @@
<div class="o-container">
<!-- NAVIGATION -->
{%- if page.bigHeader -%}
{%- assign aboutclass = "" -%}
<div class="c-main-header__nav-wrapper" data-menuAnimated="true">
<nav class="c-main-nav js-main-nav">
<ul class="c-main-nav__list nav-fixed--is-active js-main-nav__list">
......@@ -20,18 +22,32 @@
</div>
</nav>
</div>
{%- else -%}
{%- assign aboutclass = " small" -%}
<div class="c-main-header__nav-wrapper" data-menuAnimated="true">
<nav class="c-main-nav js-main-nav">
<ul class="c-main-nav__list nav-fixed--is-active js-main-nav__list">
<li class="c-main-nav__item"><a href="/" class="c-main-nav__link" data-navPosition="1">back to the homepage</a></li>
</ul>
<div class="c-main-nav__bars js-main-nav-toggle">
<span></span>
<span></span>
<span></span>
</div>
</nav>
</div>
{%- endif -%}
<!-- NAVIGATION END -->
<!-- ABOUT SECTION-->
<div id="section-about" class="c-screen-about o-screen-about" data-contentPosition="1">
<div class="o-screen-about__col">
<div id="section-about" class="c-screen-about o-screen-about{{ aboutclass }}" data-contentPosition="1">
<div class="o-screen-about__col left">
<figure class="c-screen-about__image">
<span></span>
<img src="/assets/pic/hithere.jpg" alt="">
</figure>
</div>
<div class="o-screen-about__col">
<h1 class="u-mb-5">{{ name }}</h1>
<div class="o-screen-about__col right">
<h1 class="u-mb-5">Petr Čermák</h1>
<span class="c-screen-about__caption">Scientific researcher, doctor of physics</span>
<ul class="c-socials u-mb-35">
<li class="c-socials__item">
......@@ -68,9 +84,10 @@
<i class="ai ai-cv"></i></a>
</li>
</ul>
{%- if page.bigHeader -%}
<p class="u-mb-10"><span class="u-block">Hello!</span>
I´m Petr and I do science. <br />
I work at low temperature magnetic laboratory <a href="https://mgml.eu/">MGML</a> in Prague .
I work at low temperature magnetic laboratory <a href="https://mgml.eu/"><b>MGML</b></a> in Prague .
</p>
<!--<p class="u-mb-10">
In my free time I make <a href="https://en.wikipedia.org/wiki/Internet_of_things">things</a>.
......@@ -81,7 +98,7 @@
<h3 class="u-mb-10">Featured publications:</h3>
<a href="https://www.pnas.org/content/116/14/6695"><p class="u-mb-10" >Petr Čermák et al., <b>PNAS 116</b> (2019) 6695-6700</p></a>
<a href="https://journals.aps.org/prb/abstract/10.1103/PhysRevB.98.174306"><p class="u-mb-10" >B.-Q. Liu, P. Čermák et al., <b>Phys. Rev. B 98</b> (2018) 174306</p></a>
{%- endif -%}
</div>
</div>
......
......@@ -8,6 +8,12 @@ h1{
@include fluidFontSize(30px, 70px, 480px, 1200px, 30px);
}
.small h1{
color: $color-headings-primary;
line-height: 1.3;
@include fluidFontSize(30px, 50px, 480px, 1200px, 30px);
}
h2{
color: $color-headings-primary;
line-height: 1.25;
......
......@@ -86,3 +86,75 @@
}
}
}
.c-article-compact{
&__item{
margin-bottom: 30px;
background: $color-bg-article;
&:last-child{
margin-bottom: 45px;
}
}
&__body{
padding: 30px 20px 15px 25px;
display: flex;
width: 100%;
vertical-align: top;
div:nth-of-type(1) { margin-right: 18px; }
div:nth-of-type(2) { flex-grow: 1; }
}
&__header{
margin-bottom: 5px;
width: 100%;
}
&__cite{
float: left;
font-family: $font-headings;
font-style: italic;
}
&__cell{
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: space-between;
}
&__doi{
.c-button--simple-text{
&::before{
bottom: -1px;
}
}
position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
a{
font-size: 15px;
padding-top: 0px;
padding-bottom: 0px;
}
i{
padding-left: 3px;
font-size: 12px;
line-height: 1;
color: #727272;
color: $theme-accent;
}
}
}
......@@ -21,3 +21,10 @@
}
}
.c-section-heading.first{
@include menu-not-collapsed{
margin-top: 0px;
margin-bottom: 20px;
}
}
\ No newline at end of file
......@@ -38,7 +38,20 @@
}
}
}
.o-screen-about.small{
.o-screen-about__col.left{
flex-basis: 100%;
@include tablet-portrait-up{
flex-basis: 20%;
}
}
.o-screen-about__col.right{
flex-basis: 100%;
@include tablet-portrait-up{
flex-basis: 80%;
}
}
}
.o-screen-education{
display: flex;
......
---
layout: default
showMap: true
bigHeader: true
---
<main class="o-main">
<!-- EDUCATION -->
......@@ -386,7 +388,7 @@ layout: default
</div>
</div>
<div class="u-text-right">
<a href="/works.html" class="c-button c-button--primary">List of all publications</a>
<a href="/publications" class="c-button c-button--primary">List of all publications</a>
</div>
</div>
</div>
......
---
layout: default
showMap: false
bigHeader: false
---
<main class="o-main">
<!-- PUBLICATIONS -->
<div id="section-publications" class="o-container wow1 fadeIn" data-contentPosition="4">
<div class="c-section-heading first">
<svg class="c-section-heading__icon svg-icon" xmlns="http://www.w3.org/2000/svg" width="91" height="91" viewBox="0 0 91 91">
<rect class="svg-icon__border" x="0.5" y="0.5" width="90" height="90"/>
<path class="svg-icon__item" d="M441.844,1714.1a3.587,3.587,0,0,1-1.175,2.18,4.8,4.8,0,0,1-2.425,1.12,9.54,9.54,0,0,1-1.5.1,12.291,12.291,0,0,1-1.5,0h-30a5.209,5.209,0,0,1-2.25-.45,3.054,3.054,0,0,1-1.65-1.7,4.191,4.191,0,0,1-.05-2.65,14.023,14.023,0,0,1,.75-1.75l10.95-20.3a2.556,2.556,0,0,0,.25-1.05v-4.65a0.605,0.605,0,0,0-.075-0.35,0.574,0.574,0,0,0-.375-0.15,3.05,3.05,0,0,1-2.175-.97,3.2,3.2,0,0,1-.875-2.28l-0.05-1.65c0.033-.27.067-0.53,0.1-0.8a3.232,3.232,0,0,1,1.125-1.87,3.119,3.119,0,0,1,2.075-.73h16.25a3.213,3.213,0,0,1,2.4.98,3.157,3.157,0,0,1,.9,2.42c0-.5.017-0.12,0.05,1.15a6.137,6.137,0,0,1-.1,1.2,3.257,3.257,0,0,1-1.075,1.8,3.076,3.076,0,0,1-1.925.75,0.574,0.574,0,0,0-.375.15,0.605,0.605,0,0,0-.075.35v4.85a1.7,1.7,0,0,0,.3.8l11.8,20.4a4.6,4.6,0,0,1,.7,3.1h0Zm-2.425.05a4.446,4.446,0,0,0-.675-2.25l-11.2-20.85a1.941,1.941,0,0,1-.25-0.7q0.05-3.645,0-7.2a0.379,0.379,0,0,1,.1-0.32,0.5,0.5,0,0,1,.3-0.08h1.55a1.474,1.474,0,0,0,1.125-.45,1.8,1.8,0,0,0,.475-1.15v-1.65a1.552,1.552,0,0,0-.45-1.15,1.622,1.622,0,0,0-1.2-.45h-16.05a1.722,1.722,0,0,0-1.25.43,1.652,1.652,0,0,0-.45,1.27v1.6a1.755,1.755,0,0,0,.475,1.1,1.474,1.474,0,0,0,1.125.45,9.973,9.973,0,0,0,1.375,0,0.519,0.519,0,0,1,.475.08,0.781,0.781,0,0,1,.1.47q-0.05,3.345,0,6.65a2.09,2.09,0,0,1-.3,1.1l-11.1,20.7a6.541,6.541,0,0,0-.7,1.7,1.652,1.652,0,0,0,1.45,2.2,5.753,5.753,0,0,0,1.3.1h31.25a3.855,3.855,0,0,0,1.5-.25A1.369,1.369,0,0,0,439.419,1714.15Zm-22.2-40.52a1.953,1.953,0,0,1-.575-1.43,2.015,2.015,0,0,1,.575-1.45,1.948,1.948,0,0,1,1.425-.62,1.833,1.833,0,0,1,1.45.6,2.031,2.031,0,0,1,.6,1.47,2.049,2.049,0,0,1-2.05,2.05A2.115,2.115,0,0,1,417.219,1673.63Zm5.05-3.13a1.616,1.616,0,0,1-.525-1.22,1.8,1.8,0,0,1,1.75-1.78,1.734,1.734,0,0,1,1.225.5,1.65,1.65,0,0,1,.525,1.25,1.709,1.709,0,0,1-1.75,1.75A1.734,1.734,0,0,1,422.269,1670.5Zm4.625,23.45,10.3,18.8a3.751,3.751,0,0,1,.45.88,0.2,0.2,0,0,1-.175.27,6.171,6.171,0,0,1-.975.05h-31.1a1.131,1.131,0,0,1-.725-0.12,1.032,1.032,0,0,1,.225-0.68q0.649-1.245,2.6-4.8l4.85-8.85a0.933,0.933,0,0,1,.325-0.4,0.6,0.6,0,0,1,.525.05,19.047,19.047,0,0,0,3.775.75,4.321,4.321,0,0,0,3.775-1.3c0.3-.3.933-0.98,1.9-2.05a13.925,13.925,0,0,1,3.6-2.8,0.712,0.712,0,0,1,.4-0.07,0.463,0.463,0,0,1,.3.27h-0.05Zm-2.35,15.13a1.943,1.943,0,0,0,.2-1.6,2.054,2.054,0,0,0-1.025-1.25,2.132,2.132,0,0,0-2.875.8,2.1,2.1,0,0,0-.175,1.6,2,2,0,0,0,1,1.3,2.05,2.05,0,0,0,1.625.17A2.189,2.189,0,0,0,424.544,1709.08Zm5.025-4.8a2.386,2.386,0,0,0,.2-1.85,2.476,2.476,0,0,0-1.15-1.5,2.325,2.325,0,0,0-1.85-.28,2.352,2.352,0,0,0-1.5,1.18,2.394,2.394,0,0,0-.25,1.9,2.454,2.454,0,0,0,1.175,1.5,2.3,2.3,0,0,0,1.9.22A2.389,2.389,0,0,0,429.569,1704.28Zm-10.725-18.08a3.5,3.5,0,0,1-1.05-2.57,3.465,3.465,0,0,1,1.075-2.58,3.682,3.682,0,0,1,5.15,0,3.622,3.622,0,0,1,0,5.15A3.713,3.713,0,0,1,418.844,1686.2Zm-0.7,7.53a2.643,2.643,0,0,1,1.825-4.53,2.568,2.568,0,0,1,1.85.75,2.477,2.477,0,0,1,.775,1.85,2.62,2.62,0,0,1-.75,1.88,2.493,2.493,0,0,1-1.85.77A2.435,2.435,0,0,1,418.144,1693.73Z" transform="translate(-375.5 -1649.5)"/>
</svg>
<h2 class="c-section-heading__header">List of all publications.</h2>
</div>
<div class="c-screen-publications o-screen-publications">
<div class="o-screen-publications__col">
<div class="c-article">
<div class="u-mb-20">There are all my publications imported from <a href="https://publons.com/researcher/1375240/petr-cermak/">Publons</a> via their <a href="https://publons.com/api/v2/">API</a>.
Import is done when I build the site on <a href="https://gitlab.mff.cuni.cz/cermp5am/cermak.science">MFF gitlab</a>, which is usually only when I update the page. Only publications with doi are listed, which does not mean that they have impact factor. But majority is of course impacted. There are also no datasets and conference abstracts. For the full list of all citable items see my <a href="https://orcid.org/0000-0002-4176-6905">ORCID profile</a>.</div>
{% assign pubs = site.data.publications.all[0].results | concat: site.data.publications.all[1].results | concat: site.data.publications.all[2].results | concat: site.data.publications.all[3].results | concat: site.data.publications.all[4].results %}
{% assign counter = 0 %}
{% assign sorted = "" %}
{% for coll in pubs %}
{% assign sorted = sorted | append: coll.publication.date_published %}
{% assign sorted = sorted | append: "," %}
{%- if coll.publication.ids.doi != '' %}
{% assign counter = counter | plus: 1 %}
{% endif %}
{% endfor %}
{% assign sorted = sorted | split: "," | sort | reverse | uniq %}
{%- for dp in sorted -%}
{% assign pub = pubs | where: "publication.date_published", "dp" %}
{%- for p in pubs -%}
{%- if p.publication.ids.doi != '' and p.publication.date_published == dp -%}
<div class="c-article-compact__item">
<div class="c-article-compact__body">
<div>
<h2>{{ counter }}.</h2>
</div>
<div>
<h3 class="c-article-compact__header">{{ p.publication.title }}</h3>
<div class="c-article-compact__cell">
<div class="c-article-compact__cite">{{ p.journal.name }} ({{ p.publication.date_published }})</div>
<div class="c-article-compact__doi"><a href="https://doi.org/{{ p.publication.ids.doi }}" class="c-button c-button--simple-text">doi:{{ p.publication.ids.doi }}</a><i class="icofont icofont-external-link"></i></div>
</div>
</div>
</div>
</div>
{% assign counter = counter | minus: 1 %}
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
</div>
</div>
</main>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment