Skip to content

Commit af2df19

Browse files
committed
Update page template
1 parent 86a724b commit af2df19

10 files changed

+255
-136
lines changed

_includes/post-content.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<section class="section" id="post-content">
2+
<div class="container">
3+
<p>{{ content }}</p>
4+
</div>
5+
</section>

_includes/post-header.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<section class="section has-text-centered" id="post-header">
2+
<div class="container">
3+
<div class="content">
4+
<div class="left-content">
5+
<figure class="image is-16by9" style="background-image: url('{{page.post-image}}');"></figure>
6+
</div>
7+
8+
<div class="right-content">
9+
<div class="tags">
10+
{% for tag in page.tags %}
11+
<div class="tag">{{ tag }}</div>
12+
{% endfor %}
13+
</div>
14+
15+
<h2 class="title has-text-white-ter is-size-2 has-text-weight-bold">
16+
More Updates
17+
</h2>
18+
{% for post in site.posts %}
19+
<a href="{{ post.url | absolute_url }}">
20+
<div class="card">
21+
<div class="card-content">
22+
<h3 class="title has-text-white-ter is-size-4-touch">{{post.title | truncate: 100}}</h3>
23+
</div>
24+
</div>
25+
</a>
26+
{% endfor %}
27+
</div>
28+
</div>
29+
<hr>
30+
</div>
31+
</section>

_includes/post-info.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<section class="section has-text-centered" id="post-info">
2+
<div class="container">
3+
<h1 class="title has-text-white-ter is-size-1 has-text-weight-bold">
4+
{{page.title}}
5+
</h1>
6+
<div class="quick-take">
7+
<div class="quick-label">Quick Take</div>
8+
<div class="quick-description">
9+
{{page.description}}
10+
</div>
11+
</div>
12+
</div>
13+
</section>

_layouts/copy.html

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
layout: compress
3+
---
4+
5+
<!DOCTYPE html>
6+
<html>
7+
8+
<head>
9+
{% include head.html %}
10+
</head>
11+
12+
<body>
13+
{% include navbar.html %}
14+
15+
<section class="hero is-fullheight has-text-centered" id="post">
16+
<div class="hero-body">
17+
<div class="container">
18+
<a href="{{page.url | relative_url}}" class="has-text-black" id="title">
19+
<h1 class="title has-text-centered is-2 has-text-weight-semibold ">{{page.title}}</h1>
20+
</a>
21+
<hr class="has-background-black">
22+
<div class="columns is-variable is-5">
23+
<div class="subtitle column is-5 has-text-left-desktop has-text-left-fullhd has-text-left-tablet has-text-center-mobile">
24+
{% unless page.description.size == 0 %}
25+
<p id="description" class="content is-small has-text-weight-medium is-uppercase">{{page.description | strip | strip_html | strip_newlines }}</p>
26+
{% endunless %}
27+
<p class="subtitle is-6 is-uppercase has-text-weight-normal has-text-black-ter">Published on
28+
<b>{{ page.date | date: "%-B %d, %Y" }}</b> by <a href="{% if site.author-url %}{{site.author-url}}{% else %}{{site.url}}{{site.baseurl}}/#about{% endif %}" target="_blank"><b class="has-text-link"><u>{{site.author-name}}</u></b>
29+
</a>
30+
</p>
31+
{%- assign tags = page.tags -%}
32+
{%- unless tags.size == 0 -%}
33+
<p class="subtitle is-uppercase">
34+
<i class="fas fa-tags"></i>
35+
{% assign i = 0 %}
36+
{% for tags in page.tags %}
37+
<span class="tag is-link">{{page.tags[i]}}</span>
38+
{% assign i = i | plus:1 %}
39+
{% endfor %}
40+
</p>
41+
{%- endunless -%}
42+
{% assign words = content | number_of_words %}
43+
{%- unless content.size == 0 -%}
44+
<p class="subtitle is-uppercase"><i class="fas fa-clock"></i> <b class="has-text-link">
45+
{{ words | divided_by:180 }} min
46+
</b>READ</p>
47+
{%- endunless -%}
48+
</div>
49+
</div>
50+
<div class="content has-text-justified-desktop has-text-justified-fullhd has-text-justified has-text-justified-tablet has-text-left-mobile">
51+
<p>{{ content }}</p>
52+
</div>
53+
{% unless site.disqus-shortname == "" %}
54+
<div class="disqus-comments" id="disqus_thread"></div>
55+
{% endunless %}
56+
</div>
57+
</div>
58+
</section>
59+
{% include footer.html %}
60+
</body>
61+
<script>
62+
/**
63+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
64+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
65+
/*
66+
var disqus_config = function () {
67+
this.page.url = PAGE_URL; Replace PAGE_URL with your page's canonical URL variable
68+
this.page.identifier = PAGE_IDENTIFIER; Replace PAGE_IDENTIFIER with your page's unique identifier variable
69+
};
70+
*/
71+
(function () { /* DON'T EDIT BELOW THIS LINE */
72+
var d = document,
73+
s = d.createElement('script');
74+
s.src = 'https://{{site.disqus-shortname}}.disqus.com/embed.js';
75+
s.setAttribute('data-timestamp', +new Date());
76+
(d.head || d.body).appendChild(s);
77+
})();
78+
</script>
79+
80+
</html>

_layouts/post.html

Lines changed: 9 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -4,77 +4,18 @@
44

55
<!DOCTYPE html>
66
<html>
7-
87
<head>
9-
{% include head.html %}
8+
{% include head.html %}
109
</head>
1110

1211
<body>
13-
{% include navbar.html %}
14-
15-
<section class="hero is-fullheight has-text-centered" id="post">
16-
<div class="hero-body">
17-
<div class="container">
18-
<a href="{{page.url | relative_url}}" class="has-text-black" id="title">
19-
<h1 class="title has-text-centered is-2 has-text-weight-semibold ">{{page.title}}</h1>
20-
</a>
21-
<hr class="has-background-black">
22-
<div class="columns is-variable is-5">
23-
<div class="subtitle column is-5 has-text-left-desktop has-text-left-fullhd has-text-left-tablet has-text-center-mobile">
24-
{% unless page.description.size == 0 %}
25-
<p id="description" class="content is-small has-text-weight-medium is-uppercase">{{page.description | strip | strip_html | strip_newlines }}</p>
26-
{% endunless %}
27-
<p class="subtitle is-6 is-uppercase has-text-weight-normal has-text-black-ter">Published on
28-
<b>{{ page.date | date: "%-B %d, %Y" }}</b> by <a href="{% if site.author-url %}{{site.author-url}}{% else %}{{site.url}}{{site.baseurl}}/#about{% endif %}" target="_blank"><b class="has-text-link"><u>{{site.author-name}}</u></b>
29-
</a>
30-
</p>
31-
{%- assign tags = page.tags -%}
32-
{%- unless tags.size == 0 -%}
33-
<p class="subtitle is-uppercase">
34-
<i class="fas fa-tags"></i>
35-
{% assign i = 0 %}
36-
{% for tags in page.tags %}
37-
<span class="tag is-link">{{page.tags[i]}}</span>
38-
{% assign i = i | plus:1 %}
39-
{% endfor %}
40-
</p>
41-
{%- endunless -%}
42-
{% assign words = content | number_of_words %}
43-
{%- unless content.size == 0 -%}
44-
<p class="subtitle is-uppercase"><i class="fas fa-clock"></i> <b class="has-text-link">
45-
{{ words | divided_by:180 }} min
46-
</b>READ</p>
47-
{%- endunless -%}
48-
</div>
49-
</div>
50-
<div class="content has-text-justified-desktop has-text-justified-fullhd has-text-justified has-text-justified-tablet has-text-left-mobile">
51-
<p>{{ content }}</p>
52-
</div>
53-
{% unless site.disqus-shortname == "" %}
54-
<div class="disqus-comments" id="disqus_thread"></div>
55-
{% endunless %}
56-
</div>
12+
{% include navbar.html %}
13+
<div id="post-showcase">
14+
{% include post-header.html %}
15+
{% include post-info.html %}
5716
</div>
58-
</section>
59-
{% include footer.html %}
60-
</body>
61-
<script>
62-
/**
63-
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
64-
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
65-
/*
66-
var disqus_config = function () {
67-
this.page.url = PAGE_URL; Replace PAGE_URL with your page's canonical URL variable
68-
this.page.identifier = PAGE_IDENTIFIER; Replace PAGE_IDENTIFIER with your page's unique identifier variable
69-
};
70-
*/
71-
(function () { /* DON'T EDIT BELOW THIS LINE */
72-
var d = document,
73-
s = d.createElement('script');
74-
s.src = 'https://{{site.disqus-shortname}}.disqus.com/embed.js';
75-
s.setAttribute('data-timestamp', +new Date());
76-
(d.head || d.body).appendChild(s);
77-
})();
78-
</script>
7917

80-
</html>
18+
{% include post-content.html %}
19+
{% include footer.html %}
20+
</body>
21+
</html>

_posts/2024-06-23-cabrillo-robotics-wins-international-robotics-competition.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The small team dedicated nearly a year to constructing an originally designed RO
1919
After more than 4500 hours of intensive design, manufacturing, and testing, five members of the Cabrillo Robotics team and their robot traveled 4080 km across the country to Kingsport, TN. They engaged in several days of rigorous events. Thanks to many hours of practice and exceptional piloting, they achieved impressive scores in the product demonstrations. Pilot, Isaac Eda, noted that, “a strength of this year’s ROV was its unique control systems that made it possible for me to navigate the tasks in record time.” Much thought and effort was put into maximizing the controllability of the robot. Both the hardware and software teams worked together to ensure piloting the ROV was as efficient and reliable as possible. During their presentation, judges noted the craftsmanship of the robot and were intrigued by the unique mechanical design choices. Additionally, the custom electronics stack and pilot dashboard received high praise for their ingenuity and impressive design.
2020

2121
After the events concluded, Cabrillo Robotics Club celebrated another remarkable victory, securing first place overall in the most advanced category of the competition. This triumph is particularly impressive given the team's unique challenges and achievements. Competing for the first time in the Explorer Division with a completely redesigned ROV, this small team of community college students outperformed university teams from around the world.
22+
2223
Participation in the MATE ROV competition over the years has provided learning and training that have shaped Cabrillo Robotic Team members into engineers soon to enter the workforce and move onto higher education. “Participating in MATE competitions provided us with the unique opportunity to develop invaluable technical and interpersonal skills” says President Stephanie L’Heureux, “We all hope to continue to be involved with MATE as mentors to future generations of students to share this valuable learning experience.”
2324

2425
After winning first place in their division of the MATE competition for three consecutive years, the Cabrillo Robotics Club is excited to conquer a new challenge for the 2024-2025 season. “The Cabrillo Robotics Club values the MATE ROV competition for its chance to explore our limits, take risks, and devise unconventional solutions to problems,” says Rowan Garites. “...however, we are ready to venture into new territory, the RoboSub competition appears to be a logical next step for us. It will definitely be challenging, our software, mechanical, and electrical teams will have their work cut out for them. Constructing an autonomous vehicle without a tether makes the engineering process exponentially more difficult,” adds Stephanie L’Heureux. RoboSub challenges teams worldwide to design and build Autonomous Underwater Vehicles (AUVs). Cabrillo Robotics Club is eager to participate in next year’s RoboSub competition and is actively seeking donations and sponsors for support.

_posts/2024-09-8-after-international-win-cabrillo-robotics-announces-participation-in-robosub.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ tags:
99
- Lazer Shark
1010
---
1111
Cabrillo College’s Robotics Club recently announced their participation in the upcoming RoboSub competition, following their victory at the Marine Advanced Technology Education (MATE) World Championship. Last month, the team secured First Place in the most advanced category of the MATE competition, outperforming 29 teams from 9 countries. MATE tasks teams worldwide to design and construct a Remotely Operated Vehicle (ROV), a tethered underwater robot, capable of performing simulated industry tasks. After three consecutive years of participation in the MATE competition, and three first place victories in their respective division, Cabrillo Robotics is ready to embark on a new challenge.
12+
1213
“We are incredibly grateful for our time participating in the MATE competition,” said Stephanie L’Heureux, Cabrillo Robotics President. “The experience has been invaluable, providing us with numerous technical and interpersonal skills we will carry forward into our careers as engineers. Over the years, we’ve learned to tackle complex engineering challenges by devising unique and innovative solutions, and work cohesively as a team. Moreover, our participation in MATE has inspired us to push our limits and continuously seek new challenges and learning opportunities–-which is why we have decided to take on a new challenge this year. MATE has provided us with a solid foundation for underwater robotics, and with that knowledge RoboSub competition appears to be a logical next step for us.”
14+
1315
[what is robosub]
16+
1417
Cabrillo Robotics' upcoming participation in RoboSub marks a significant step forward, as the team will now focus on developing Autonomous Underwater Vehicles (AUVs). Unlike ROVs, these AUVs operate independently, navigating the underwater environment without human intervention. The transition to building an AUV presents unique hardware and software challenges. [add more at challenges]
18+
1519
[talk funding]
20+
1621
Cabrillo Robotics Club is eager to participate in next year’s RoboSub competition and is actively seeking donations and sponsors for support. To support Cabrillo Robotics Club or donate to their RoboSub entry, visit the Cabrillo Foundation website. When making a donation, enter “Robotics” in the special instructions or notes section.

_site/assets/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_site/assets/css/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)