Skip to content

Commit 86a724b

Browse files
committed
Updates
1 parent b991ddd commit 86a724b

18 files changed

+40
-68
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
markdown: kramdown
33

44
# URL of the Site
5-
url: ''
5+
url: 'https://cabrillorobotics.org/'
66
# Base URL of the Site (i.e., Name of the Repository in which the Site is hosted)
77
baseurl:
88

@@ -11,7 +11,7 @@ title: Cabrillo Robotics Club
1111
# Description of the Site
1212
description: Student led robotics club at Cabrillo College in Aptos, California.
1313
# URL of Image of the Site
14-
site-image: /WhatATheme/assets/images/meta.jpg
14+
site-image: https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/f0905cbecd1b1167085058ae4c5352152cb95fad/assets/images/hero.webp
1515
# Keywords of the Site
1616
site-keywords: Robotics, Cabrillo Robotics Club, Lazer Shark, SeaHawk II, SeaHawk, Hydrozoa, MATE, RoboSub, ROV, AUV
1717
# URL for the Image of custom Favicon
@@ -48,7 +48,7 @@ plugins:
4848
- jekyll-feed
4949

5050
# Permalink
51-
permalink: "blog/:title"
51+
permalink: "updates/:title"
5252

5353
# Compress
5454
compress_html:

_includes/showcase.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<h1 class="title has-text-white-ter is-size-1 is-uppercase has-text-weight-bold">
55
{{site.title}}
66
</h1>
7+
<br>
78
<a href="{{site.url}}{{site.baseurl}}/#about"
89
class="button is-rounded is-outlined has-text-weight-normal">About Us</a>
910
</a>

_includes/updates-card.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
<div id="updates-card">
22
<div class="column">
3-
<a href="{{post.url | absolute_url}}">
3+
<a href="{{page.url | absolute_url}}">
44
<div class="card">
5-
<!-- <figure class="image is-4by5" style="background-image: url({{post.post-image}});"></figure> -->
5+
<!-- Removed images because it was not doing things -->
6+
<!-- <figure class="image is-4by5" style="background-image: url({{page.page-image}});"></figure> -->
67
<div class="card-content">
7-
<h1 class="title is-size-4-touch">{{post.title}}</h1>
8+
<h1 class="title is-size-4-touch">{{page.title}}</h1>
89
<div class="content">
9-
{{ post.content | truncate: 300 | strip_html | strip_newlines | strip | escape }}
10+
{{ page.content | truncate: 300 | strip_html | strip_newlines | strip | escape }}
1011
<!-- Horizontal rule -->
1112
<hr>
1213

1314
<!-- Information at the bottom of the card -->
14-
<span class="information">Published on <span class="has-text-weight-semibold">{{ post.date |
15+
<span class="information">Published on <span class="has-text-weight-semibold">{{ page.date |
1516
date: "%-B %d, %Y" }}</span></span> | <i class="fas fa-clock"></i> <span
16-
class="has-text-weight-semibold">{% assign words = post.content | number_of_words %}{%-
17+
class="has-text-weight-semibold">{% assign words = page.content | number_of_words %}{%-
1718
unless content.size == 0 -%}{{ words | divided_by:180 }} min{% endunless %}</span> read
1819
</div>
1920
</div>

_includes/updates-header.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

_layouts/post.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ <h1 class="title has-text-centered is-2 has-text-weight-semibold ">{{page.title}
2020
</a>
2121
<hr class="has-background-black">
2222
<div class="columns is-variable is-5">
23-
<div class="column is-6">
24-
<figure class="image is-16by9 has-shadow">
25-
<img src="{{page.post-image}}" alt="{{post.title}}" id="post-image">
26-
</figure>
27-
</div>
2823
<div class="subtitle column is-5 has-text-left-desktop has-text-left-fullhd has-text-left-tablet has-text-center-mobile">
2924
{% unless page.description.size == 0 %}
3025
<p id="description" class="content is-small has-text-weight-medium is-uppercase">{{page.description | strip | strip_html | strip_newlines }}</p>

_layouts/updates.html

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,20 @@
1212

1313
<section class="section" id="updates">
1414
<div class="container">
15-
{% include updates-header.html %}
16-
17-
<div id="results-container"></div>
18-
{% for post in site.posts %}
19-
{% include updates-card.html %}
20-
{% endfor %}
15+
<div class ="header">
16+
<h2 class="title has-text-left is-size-2 has-text-weight-bold mgb-medium">
17+
Updates
18+
</h2>
19+
<p class="description">
20+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel
21+
</p>
2122
</div>
23+
{% for page in site.posts %}
24+
{% include updates-card.html %}
25+
{% endfor %}
2226
</div>
2327
</section>
2428
<br>
2529

2630
{% include footer.html %}
27-
28-
<!-- Search script -->
29-
<script src="{{site.url}}{{site.baseurl}}/assets/js/simple-jekyll-search.js"></script>
30-
31-
<script>
32-
SimpleJekyllSearch({
33-
searchInput: document.getElementById('search'),
34-
resultsContainer: document.getElementById('results-container'),
35-
json: '{{site.url}}{{site.baseurl}}/search.json',
36-
searchResultTemplate: '<div style="border: 0.15rem black" class="searchResult columns has-text-centered" id="blog-card"><div class="column is-marginless is-paddingless is-one-third-desktop is-one-third-fullhd is-one-third-tablet"><div class="image is-16by9" style="background-image: url({image});"></div></div><a href="{url}"><div class="column has-text-left-desktop has-text-left-tablet"><h1 class="title is-size-4-touch">{title}</h1><div class="content has-text-grey">{content}<hr class="has-background-grey"><span class="has-text-grey">Published on <span class="has-text-weight-semibold">{date}</span></span> | <i class="fas fa-clock"></i> <span class="has-text-weight-semibold">{readtime} min</span> read</div></div></a></div>',
37-
noResultsText: '<div class="subtitle has-text-centered is-uppercase">No Results Found</div><hr class="has-background-black" style="margin: 0.5rem 5rem 2.5rem 5rem">',
38-
fuzzy: true,
39-
});
40-
</script>
41-
</body>
42-
4331
</html>
File renamed without changes.

_site/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html><head> <!-- Include Meta Tags Here --><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta name="viewport" content="width=device-width, height=device-height, initial-scale=1 user-scalable=no, shrink-to-fit=no"><meta content='#000000' name='theme-color'/><meta name="keywords" content="Robotics, Cabrillo Robotics Club, Lazer Shark, SeaHawk II, SeaHawk, Hydrozoa, MATE, RoboSub, ROV, AUV"><title>Cabrillo Robotics Club | 404</title><!-- Open Graph general (Facebook, Pinterest & Google+) --><meta name="og:title" content="Cabrillo Robotics Club | 404"><meta name="og:description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta name="og:image" content="/WhatATheme/assets/images/meta.jpg"><meta name="og:image:alt" content="Cabrillo Robotics Club | 404"><meta name="og:url" content="http://localhost:4000/404"><meta name="article:author" content="https://www.facebook.com//"><meta name="og:site_name" content="Cabrillo Robotics Club | 404"><meta name="og:type" content="website"> <!-- Twitter --><meta property="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Cabrillo Robotics Club | 404"><meta name="twitter:description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta name="twitter:site" content="@/"><meta name="twitter:creator" content="@/"><meta name="twitter:image:src" content="/WhatATheme/assets/images/meta.jpg"> <!-- Search Engine --><meta name="description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta name="image" content="/WhatATheme/assets/images/meta.jpg"> <!-- Schema.org for Google --><meta itemprop="name" content="Cabrillo Robotics Club | 404"><meta name="author" content=""/><meta itemprop="description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta itemprop="image" content="/WhatATheme/assets/images/meta.jpg"> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-163806439-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-163806439-1'); </script><title>Cabrillo Robotics Club</title><link rel="stylesheet" href="/assets/css/style.css"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <script src="https://kit.fontawesome.com/6a97161b76.js" crossorigin="anonymous"></script><link rel="shortcut icon" href="http://localhost:4000/assets/images/logo.svg" type="image/x-icon"></head><body><section class="hero is-fullheight has-text-centered has-background-black-ter"><div class="hero-body"><div class="container"><h1 class="title is-1 is-uppercase has-text-weight-bold has-text-white-ter"> 404</h1><h3 class="is-uppercase has-text-weight-medium is-marginless has-text-grey-light"><p>The page you’re trying to load was not found</p></h3><hr><div class="columns is-marginless is-inline-flex-desktop"> <a href="http://localhost:4000/" class="button is-white column is-rounded is-outlined is-uppercase has-text-weight-normal">Home</a> </a></div></div></div></section></body></html>
1+
<!DOCTYPE html><html><head> <!-- Include Meta Tags Here --><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta name="viewport" content="width=device-width, height=device-height, initial-scale=1 user-scalable=no, shrink-to-fit=no"><meta content='#000000' name='theme-color'/><meta name="keywords" content="Robotics, Cabrillo Robotics Club, Lazer Shark, SeaHawk II, SeaHawk, Hydrozoa, MATE, RoboSub, ROV, AUV"><title>Cabrillo Robotics Club | 404</title><!-- Open Graph general (Facebook, Pinterest & Google+) --><meta name="og:title" content="Cabrillo Robotics Club | 404"><meta name="og:description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta name="og:image" content="https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/f0905cbecd1b1167085058ae4c5352152cb95fad/assets/images/hero.webp"><meta name="og:image:alt" content="Cabrillo Robotics Club | 404"><meta name="og:url" content="http://localhost:4000/404"><meta name="article:author" content="https://www.facebook.com//"><meta name="og:site_name" content="Cabrillo Robotics Club | 404"><meta name="og:type" content="website"> <!-- Twitter --><meta property="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Cabrillo Robotics Club | 404"><meta name="twitter:description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta name="twitter:site" content="@/"><meta name="twitter:creator" content="@/"><meta name="twitter:image:src" content="https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/f0905cbecd1b1167085058ae4c5352152cb95fad/assets/images/hero.webp"> <!-- Search Engine --><meta name="description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta name="image" content="https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/f0905cbecd1b1167085058ae4c5352152cb95fad/assets/images/hero.webp"> <!-- Schema.org for Google --><meta itemprop="name" content="Cabrillo Robotics Club | 404"><meta name="author" content=""/><meta itemprop="description" content="Student led robotics club at Cabrillo College in Aptos, California."><meta itemprop="image" content="https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/f0905cbecd1b1167085058ae4c5352152cb95fad/assets/images/hero.webp"> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-163806439-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-163806439-1'); </script><title>Cabrillo Robotics Club</title><link rel="stylesheet" href="/assets/css/style.css"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <script src="https://kit.fontawesome.com/6a97161b76.js" crossorigin="anonymous"></script><link rel="shortcut icon" href="http://localhost:4000/assets/images/logo.svg" type="image/x-icon"></head><body><section class="hero is-fullheight has-text-centered has-background-black-ter"><div class="hero-body"><div class="container"><h1 class="title is-1 is-uppercase has-text-weight-bold has-text-white-ter"> 404</h1><h3 class="is-uppercase has-text-weight-medium is-marginless has-text-grey-light"><p>The page you’re trying to load was not found</p></h3><hr><div class="columns is-marginless is-inline-flex-desktop"> <a href="http://localhost:4000/" class="button is-white column is-rounded is-outlined is-uppercase has-text-weight-normal">Home</a> </a></div></div></div></section></body></html>

_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)