Skip to content

Commit ab9ef2e

Browse files
committed
Refactor Jekyll theme for UFF eScience Research Group: update Dockerfile, restructure config, add projects and publications, enhance team and home pages, and improve styling.
1 parent a323305 commit ab9ef2e

27 files changed

+387
-146
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ruby:3.2
2+
3+
WORKDIR /srv/jekyll
4+
5+
COPY Gemfile Gemfile.lock ./
6+
RUN gem install bundler && bundle install
7+
8+
COPY . .
9+
10+
EXPOSE 4000
11+
CMD ["bundle", "exec", "jekyll", "serve", "--watch", "--host", "0.0.0.0"]

_config.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
baseurl: '/'
22
permalink: pretty
3-
title: 'Jekyll Serif'
3+
title: 'UFF eScience Research Group'
44

55
logo:
6-
mobile: "images/logo/logo-mobile.svg"
6+
mobile: "https://avatars.githubusercontent.com/u/22843502"
77
mobile_height: "32px"
88
mobile_width: "32px"
9-
desktop: "images/logo/logo.svg"
10-
desktop_height: "32px"
11-
desktop_width: "120px"
9+
desktop: "https://avatars.githubusercontent.com/u/22843502"
10+
desktop_height: "64px"
11+
desktop_width: "64px"
1212

13-
home:
13+
home:
14+
image_style: "object-fit: contain; width: 100%; height: auto;"
1415
limit_services: 6
1516

1617
collections:
17-
services:
18+
projects:
1819
output: true
1920
sort_by: weight
2021
team:
@@ -23,9 +24,9 @@ collections:
2324
defaults:
2425
- scope:
2526
path: ""
26-
type: "services"
27+
type: "projects"
2728
values:
28-
layout: "service"
29+
layout: "project"
2930
- scope:
3031
path: ""
3132
type: "team"

_data/features.json

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,3 @@
11
[
2-
{
3-
"title": "Free Consultation",
4-
"description": "New clients receive an obligation free consultation.",
5-
"image": {
6-
"url": "images/features/noun_branding_1885335.svg",
7-
"width": 80,
8-
"height": 80
9-
}
10-
},
11-
{
12-
"title": "Certified Accountants",
13-
"description": "All members of our team are certified accountants.",
14-
"image": {
15-
"url": "images/features/noun_The Process_1885341.svg",
16-
"width": 80,
17-
"height": 80
18-
}
19-
},
20-
{
21-
"title": "Tax Compliance",
22-
"description": "We stay up to date on the latest changes to the tax code.",
23-
"image": {
24-
"url": "images/features/noun_3d modeling_1885342.svg",
25-
"width": 80,
26-
"height": 80
27-
}
28-
}
2+
293
]

_data/menus.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
main:
2-
- name: "Services"
3-
url: "/services/"
4-
weight: 2
5-
- name: "Team"
6-
url: "/team/"
2+
- name: "Home"
3+
url: "/"
4+
weight: 1
5+
- name: "Projects"
6+
url: "/projects/"
77
weight: 3
8-
- name: "About"
9-
url: "/about/"
8+
- name: "Publications"
9+
url: "/publications/"
1010
weight: 4
11-
- name: "Contact"
12-
url: "/contact/"
11+
- name: "Team"
12+
url: "/team/"
1313
weight: 5
1414

1515
footer:
1616
- name: "Home"
1717
url: "/"
18-
weight: 1
19-
- name: "Contact"
20-
url: "/contact/"
21-
weight: 2
18+
weight: 1

_data/projects.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- title: Data Science for Social Good
2+
category: Data Science
3+
description: Research on applying data science techniques to social impact problems.
4+
team:
5+
- Dr. Alice Smith
6+
- Dr. Bob Johnson
7+
- title: Machine Learning in Healthcare
8+
category: Machine Learning
9+
description: Projects focused on improving healthcare outcomes using ML.
10+
team:
11+
- Dr. Carol Lee
12+
- Dr. Bob Johnson

_data/publications.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- name: Data Science
2+
papers:
3+
- title: Predicting Social Outcomes with Data Science
4+
authors: Alice Smith, Bob Johnson
5+
journal: Journal of Data Science
6+
year: 2024
7+
- title: Data-Driven Policy Making
8+
authors: Carol Lee, Alice Smith
9+
journal: Policy Analytics
10+
year: 2023
11+
- name: Machine Learning
12+
papers:
13+
- title: ML for Healthcare Diagnostics
14+
authors: Carol Lee, Bob Johnson
15+
journal: Healthcare Informatics
16+
year: 2025

_data/seo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
google_analytics_id: ""
22
meta_twitter_site: "@zerostaticio"
33
meta_twitter_creator: "@zerostaticio"
4-
copyright_text: 'Free Jekyll theme by <a class="zerostatic" href="https://www.zerostatic.io">www.zerostatic.io</a>'
4+
copyright_text: 'Feito com ❤️ em Niterói/RJ. Theme by <a class="zerostatic" href="https://www.zerostatic.io">Zerostatic</a>'

_data/social.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,6 @@
33
"name": "Github",
44
"link": "https://github.com/zerostaticthemes/jekyll-serif-theme",
55
"image": "images/social/github.svg"
6-
},
7-
{
8-
"name": "Twitter",
9-
"link": "https://twitter.com/zerostaticio",
10-
"image": "images/social/twitter.svg"
11-
},
12-
{
13-
"name": "Facebook",
14-
"link": "https://facebook.com",
15-
"image": "images/social/facebook.svg"
16-
},
17-
{
18-
"name": "Email",
19-
"link": "mailto:[email protected] ",
20-
"image": "images/social/email.svg"
21-
},
22-
{
23-
"name": "Instagram",
24-
"link": "https://instagram.com",
25-
"image": "images/social/instagram.svg"
26-
},
27-
{
28-
"name": "Discord",
29-
"link": "https://discord.com",
30-
"image": "images/social/discord.svg"
316
}
327

338
]

_data/team.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- name: Dr. Alice Smith
2+
role: Principal Investigator
3+
bio: Expert in data science and social impact research.
4+
- name: Dr. Bob Johnson
5+
role: Senior Researcher
6+
bio: Specializes in machine learning and data analytics.
7+
- name: Dr. Carol Lee
8+
role: Researcher
9+
bio: Focused on healthcare applications of machine learning.

_layouts/home.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@
2424
<div class="strip">
2525
<div class="container pt-6 pb-6 pb-md-10">
2626
<div class="row justify-content-start">
27-
{% assign limit = site.home.limit_services | default: 6 %}
28-
{% for service in site.services limit: limit %}
27+
{% assign limit = site.home.limit_projects | default: 6 %}
28+
{% for project in site.projects limit: limit %}
2929
<div class="col-12 col-md-4 mb-1">
30-
<div class="service service-summary">
31-
<div class="service-content">
32-
<h2 class="service-title">
33-
<a href="{{ service.url | relative_url }}">{{ service.title }}</a>
30+
<div class="project project-summary">
31+
<div class="project-content">
32+
<h2 class="project-title">
33+
<a href="{{ project.url | relative_url }}">{{ project.title }}</a>
3434
</h2>
35-
<p>{{ service.excerpt | markdownify | strip_html | truncate: 100 }}</p>
35+
<p>{{ project.excerpt | markdownify | strip_html | truncate: 100 }}</p>
3636
</div>
3737
</div>
3838
</div>
3939
{% endfor %}
4040
</div>
4141
<div class="row justify-content-center">
4242
<div class="col-auto">
43-
<a class="button button-primary" href="{{ "services" | relative_url }}">View All Services</a>
43+
<a class="button button-primary" href="{{ "projects" | relative_url }}">View All Projects</a>
4444
</div>
4545
</div>
4646
</div>

0 commit comments

Comments
 (0)