Skip to content

Commit

Permalink
Merge pull request #3 from hdballestan/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
hdballestan authored May 8, 2024
2 parents ecb88d9 + 3234156 commit 96d9e0e
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 43 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Create home.html layout [#4](https://github.com/LeNPaul/academic/issues/4)
- Create page.html layout [#5](https://github.com/LeNPaul/academic/issues/5)
- Create people.html layout [#6](https://github.com/LeNPaul/academic/issues/6)
- Create publications.html layout [#7](https://github.com/LeNPaul/academic/issues/7)
- Create foundation.html layout [#7](https://github.com/LeNPaul/academic/issues/7)
- Create post.html layout [#8](https://github.com/LeNPaul/academic/issues/8)
- Create cv.html layout [#9](https://github.com/LeNPaul/academic/issues/9)
- Create contact.html layout [#10](https://github.com/LeNPaul/academic/issues/10)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GEM
google-protobuf (3.25.3-x86_64-darwin)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.4)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ The `_layouts/home.html` layout defines the home page for this theme. An introdu

The `_layouts/people.html` layout can be used to showcase and describe people in your research group. People are defined in the `_data/settings.yml` file, and markdown pages for each person with the `_layouts/page.html` layout can be placed in the `people` directory.

#### Publications
#### Foundation

The `_layouts/publications.html` layout can be used to showcase selected publications, or the entire catalogue of publications. Direct links to the paper can be used, or a PDF copy of the paper can be served. Publications are defined in the `_data/publications.yml` file, and any PDF files that are served can be placed in the `publications` directory.
The `_layouts/foundation.html` layout can be used to showcase selected publications, or the entire catalogue of publications. Direct links to the paper can be used, or a PDF copy of the paper can be served. Publications are defined in the `_data/foundation.yml` file, and any PDF files that are served can be placed in the `foundation` directory.

#### Courses

Expand Down
4 changes: 4 additions & 0 deletions _data/foundation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
index:
- {name: 'Science Is Failing. Here’s How to Fix It.', url: 'https://www.vox.com/2016/7/14/12016710/science-challeges-research-funding-peer-review-process'}
- {name: 'The War to Free Science. How librarians, pirates, and funders are liberating the world’s academic research from paywalls.', url: 'https://www.vox.com/the-highlight/2019/6/3/18271538/open-access-elsevier-california-sci-hub-academic-paywalls'}
- {name: 'Peer Review in Science: The Pains and Problems.', url: 'https://sitn.hms.harvard.edu/flash/2022/peer-review-in-science-the-pains-and-problems/'}
10 changes: 0 additions & 10 deletions _data/publications.yml

This file was deleted.

2 changes: 1 addition & 1 deletion _data/settings.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
menu:
- {name: 'posts', url: '/posts'}
- {name: 'people', url: '/people'}
- {name: 'publications', url: '/publications'}
- {name: 'foundation', url: '/foundation'}
- {name: 'courses', url: '/courses'}
- {name: 'contact', url: '/contact'}
- {name: 'cv', url: '/cv'}
Expand Down
9 changes: 9 additions & 0 deletions _includes/foundation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="row g-5 mb-5">
<div>
<h3 class="fw-bold border-bottom pb-3 mb-5">Foundation</h3>
<p class="text-justify">This is some of the bibliography we believe is worth reviewing to understand some of the problems encountered in the "academy".</p>
{% for item in site.data.foundation.index %}
<p><a href="{{ item.url }}" target="_blank">{{ item.name }}</a></p>
{% endfor %}
</div>
</div>
14 changes: 0 additions & 14 deletions _includes/publications.html

This file was deleted.

2 changes: 1 addition & 1 deletion _layouts/publications.html → _layouts/foundation.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

{{ content }}

{% include publications.html %}
{% include foundation.html %}
62 changes: 53 additions & 9 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,59 @@
layout: default
---

<div class="row g-5 mb-5">
<div class="col-md-6">
<h3 class="fw-bold">Research</h3>
{{ content }}
</div>
<div class="col-md-6">
<img src="{{ site.url }}/assets/img/home.jpg" alt="Home" width="100%">
</div>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to OTBB</title>
<style>
.container {
padding: 20px;
border-radius: 10px;
position: relative;
}

.background-image {
background-image: url('{{ site.url }}/assets/img/home.jpg');
background-size: cover;
background-position: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
border-radius: inherit;
opacity: 0.6;
}

.footnote {
margin-top: 20px;
}

.text-justify {
text-align: justify;
}
</style>
</head>
<body>

<div class="container">
<div class="background-image"></div>
<h3 class="fw-bold text-center">Welcome!</h3>
<p class="text-justify">Welcome to OTBB. This project is designed to provide anyone, anywhere <a href="#footnote"></a>, with a space to express their outrage and, through it, to help others. How many times have you come across a scientific article, book, blog, etc., that showed research you found very interesting but <strong>NOT how they arrived at it</strong>?</p>

<p class="text-justify">This is quite annoying to me because if 10 people around the world are researching the same topic, it's likely that all 10 of them will have to take a pencil and paper and re-do the equations step by step, or use a computer to re-do a program that achieves the same results (if that's even possible, I don't trust peer review 100%).</p>

<p class="text-justify">So, I got tired and I want to help in some way in this first project that will evolve later without losing what is done. People are invited to share their discoveries by properly citing the sources (articles...) with a brief introduction and their findings, as well as links to their own repositories so that others who need them can receive help and receive public feedback through the community.</p>

<p class="text-justify">The ultimate idea is to have a community actively discussing research topics without being tied to journals and books that are often unaffordable or to institutions that do not endorse researching topics that do not generate profits, a science for everyone.</p>
</div>

{% include publications.html %}
<footer class="footnote" id="footnote">
<p><a href="#footnote"></a> (We understand that not everyone has the means such as a computer and there is still much to be done.)</p>
</footer>

</body>
</html>
4 changes: 4 additions & 0 deletions foundation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: foundation
title: "Foundation"
---
File renamed without changes.
4 changes: 0 additions & 4 deletions publications.md

This file was deleted.

0 comments on commit 96d9e0e

Please sign in to comment.