diff --git a/Rules b/Rules index bb85efe..bd757cf 100644 --- a/Rules +++ b/Rules @@ -4,6 +4,9 @@ require 'json' require 'icalendar' +# Please @NoctuaNivalis +require 'socket' + # # # PREPROCESS @@ -28,11 +31,13 @@ preprocess do academic_years.each do |year| @items.create( '', - { academic_year: year }, - "/archives/#{year}-#{year + 1}.html", + { academic_year: year, title: "Blog" }, + "/blog/#{year}-#{year + 1}.html", binary: false ) end + + academic_years_items[academic_years.max][:navigable] = true end # @@ -48,7 +53,7 @@ end # # ARCHIVES # -compile '/archives/*' do +compile '/blog/*' do layout '/archive_page.*' layout '/generic.*' layout '/default.*' @@ -130,6 +135,7 @@ ignore '/assets/stylesheets/includes/**/*' compile '/assets/stylesheets/**/*.scss' do filter :sass, syntax: :scss + filter :autoprefixer if Socket.gethostname == 'abysm' end passthrough '/assets/images/*.{png,svg}' diff --git a/content/archives.erb b/content/archives.erb deleted file mode 100644 index de70590..0000000 --- a/content/archives.erb +++ /dev/null @@ -1,11 +0,0 @@ ---- -navigable: true -title: Archieven ---- - diff --git a/content/assets/images/unnamed.png b/content/assets/images/unnamed.png new file mode 100644 index 0000000..5e955b7 Binary files /dev/null and b/content/assets/images/unnamed.png differ diff --git a/content/assets/images/win.png b/content/assets/images/win.png new file mode 100644 index 0000000..695f375 Binary files /dev/null and b/content/assets/images/win.png differ diff --git a/content/assets/stylesheets/includes/blogpost.scss b/content/assets/stylesheets/includes/blogpost.scss index bd7ee28..a23d397 100644 --- a/content/assets/stylesheets/includes/blogpost.scss +++ b/content/assets/stylesheets/includes/blogpost.scss @@ -3,3 +3,14 @@ font-size: 4em; } } + +.padbox{ + margin-bottom:10px; +} + +.bolder a{ + color:#565C5E; + font-weight: bold; + font-size: 20pt; + font-family: 'Avenir'; +} diff --git a/content/assets/stylesheets/includes/projects.css b/content/assets/stylesheets/includes/projects.css new file mode 100644 index 0000000..7d8a5da --- /dev/null +++ b/content/assets/stylesheets/includes/projects.css @@ -0,0 +1,25 @@ +/*# sourceMappingURL=projects.css.map */ +/* line 4, /Users/mehmet/Projects/zeus.ugent.be/content/assets/stylesheets/includes/projects.scss */ +.imgspace { + display: flex; + justify-content: space-around; + width: 100%; + text-align: center; } + +/* line 11, /Users/mehmet/Projects/zeus.ugent.be/content/assets/stylesheets/includes/projects.scss */ +.imgcenter { + display: flex; + justify-content: center; + /* align horizontal */ + align-items: center; + /* align vertical */ } + +/* line 18, /Users/mehmet/Projects/zeus.ugent.be/content/assets/stylesheets/includes/projects.scss */ +.padbot { + padding-bottom: 15px; } + +/* line 24, /Users/mehmet/Projects/zeus.ugent.be/content/assets/stylesheets/includes/projects.scss */ +.padtop { + padding-top: 25px; } + +/*# sourceMappingURL=projects.css.map */ \ No newline at end of file diff --git a/content/assets/stylesheets/includes/projects.scss b/content/assets/stylesheets/includes/projects.scss new file mode 100644 index 0000000..c2bd649 --- /dev/null +++ b/content/assets/stylesheets/includes/projects.scss @@ -0,0 +1,28 @@ + +/*# sourceMappingURL=projects.css.map */ + +.imgspace { + display: flex; + justify-content: space-around; + width: 100%; + text-align: center; +} + +.imgcenter { + display: flex; + justify-content: center; /* align horizontal */ + align-items: center; /* align vertical */ + +} + +.padbot { + + padding-bottom: 15px; + +} + +.padtop { + + padding-top: 25px; + +} \ No newline at end of file diff --git a/content/assets/stylesheets/main.scss b/content/assets/stylesheets/main.scss index b36b4a8..d3f019c 100644 --- a/content/assets/stylesheets/main.scss +++ b/content/assets/stylesheets/main.scss @@ -29,3 +29,4 @@ body.site { @import "includes/general"; @import "includes/eventpage"; @import "includes/404"; +@import "includes/projects"; \ No newline at end of file diff --git a/content/posts/16-17/moar-review.md b/content/posts/16-17/moar-review.md new file mode 100644 index 0000000..bbdd7d5 --- /dev/null +++ b/content/posts/16-17/moar-review.md @@ -0,0 +1,7 @@ +--- +title: moar review +description: blub +banner: https://i.ytimg.com/vi/tntOCGkgt98/maxresdefault.jpg +created_at: 24-10-2016 +--- +blub diff --git a/content/posts/16-17/review-c.md b/content/posts/16-17/review-c.md index 7bdbd4d..aa9b25f 100644 --- a/content/posts/16-17/review-c.md +++ b/content/posts/16-17/review-c.md @@ -1,4 +1,5 @@ --- +banner: https://thumbs.dreamstime.com/z/letter-c-cat-4240140.jpg title: C review description: We hebben even wat dingen in C geschreven, en dit zijn onze meningen created_at: 23-10-2016 diff --git a/content/projects.erb b/content/projects.erb index 7b336a8..f5ef627 100644 --- a/content/projects.erb +++ b/content/projects.erb @@ -2,17 +2,174 @@ navigable: true title: Projecten --- -<% 5.times do %> -
-
+
-

- Hydra -

-

- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus facere, ut in magnam harum at, aliquam nostrum totam tempore distinctio explicabo natus quis pariatur quos maiores dignissimos inventore! Ad amet harum ipsum laudantium modi ipsa dolores, omnis impedit nostrum expedita sed molestias similique veritatis, quo explicabo odit minus cum quibusdam accusamus beatae quam vitae cumque ipsam eius. Alias ipsam blanditiis deleniti nam magni veritatis, quas quae. Quam quia at tempora repellat optio aliquam, quasi deserunt esse distinctio voluptate harum hic sed vel blanditiis nam modi fuga, totam neque vero! Sunt, ipsum sit! Libero quam temporibus deserunt, quo itaque perspiciatis earum. -

+
+
+
+
+
+ +
+
+

Hydra

+

Android, iOS, and Windows 10 application providing all the information a student at Ghent University needs.

+
+
+
+ + + +
+
+ +
+
+
+
+
-
-
-<% end %> + + +
+
+
+
+
+

FK-enrolment

+

Enrolment system for new members of FK-clubs at Ghent University.

+ +
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
+

Haldis

+

Haldis is your friendly neighbourhood servant. He exists so lazy fucks like you and me don't need to keep tabs of who is ordering what from where. Start an order and let people add items with a simple mouse-click! No more calculating prices and making lists! Be lazier today!

+ + +
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
+

Lana

+

🐕 LAN-Party Assistant. An application to make the life of a LAN-partygoer easier!

+ +
+ +
+
+
+
+ +
+
+
+
+
+

Saruman

+

Saruman is a material management tool where partners can reserve stuff.

+ +
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
+

SlotMachien

+

This repository contains all applications related to SlotMachien; a Lego MindStorms robot designed to turn a specific lock.

+ +
+ +
+
+
+
diff --git a/layouts/archive_page.erb b/layouts/archive_page.erb index 7b8cfc2..54a28a5 100644 --- a/layouts/archive_page.erb +++ b/layouts/archive_page.erb @@ -1,19 +1,32 @@ -<% posts_in_year(item[:academic_year]).each do |post| %> - -
-
-
-

- -

-
-
+ + <% end %>
- -<% end %> +
+ +
+ diff --git a/lib/helpers/archives.rb b/lib/helpers/archives.rb index f11d29f..fc4ed24 100644 --- a/lib/helpers/archives.rb +++ b/lib/helpers/archives.rb @@ -11,7 +11,7 @@ module ArchiveHelper end def academic_years_items - academic_years.map { |y| [y, items["/archives/#{y}-#{y + 1}.html"]] }.to_h + academic_years.to_a.reverse.map { |y| [y, items["/blog/#{y}-#{y + 1}.html"]] }.to_h end def pretty_year(year)