RRC|BIOSTATISTICS

News About News

Starting today I’ve now got news, categories, and multiple columns! Its terribly exciting for me, if only because I need to justify staying up so late to finish it.

Category Tags

For those who don’t want to scroll through a few years of posts, I’ve made sure to tag all of them. The original layout of the octopress blog was very cluttered, and listed all the post tags, along with all the months and years the posts were made, for every single page.

I wanted a cleaner blog, so I got rid of the sidebar. But now that I have a News section, I needed those categories in a more convenient place:

This resource from kaworu.ch worked beautifully, although the original source that he got the list from no longer hosts it.

My index.markdown file says the same thing as Kaworu’s page.

News!

This comedian I like – Joanna Hausmann put her News and Contact page in the same place. I thought that was pretty clever. I soon learned how difficult it was to get octopress to give in to a two column format. Its 3.. shoot, 4AM as I write this, I’m going to leave my two-column success to my CV page and call it a day for now.

Two Column Pain in the Neck

The process of getting this octopress layout to be two-column was a complete nightmare. All I wanted to do was a two-column CV, since I had to gut my academic CV to fit the length requirements of the resume and didn’t want to lose that information.

Fabio Madeira kindly shared his jekyll-based CV on github, and I foolishly thought it would be a straight forward project.

I ended up doing a frankenstein effort, but it works. Here’s the procedure:

From your _layouts folder

I created a document called cv_layouts.html which had this content:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
layout: page
single: true
---
<!-- For google scholar social media icon from jpswalsh/academicons -->
<link rel="stylesheet" href="http://hal.case.edu/~rrc/assets/css/academicons.css">
<link rel="stylesheet" href="http://hal.case.edu/~rrc/assets/css/academic_social.css">

<!-- For CV Stylesheet C/O https://github.com/biomadeira/vitae -->
<link rel="stylesheet" href="http://hal.case.edu/~rrc/assets/css/base.css">
<link rel="stylesheet" href="http://hal.case.edu/~rrc/assets/css/skeleton.css">
<link rel="stylesheet" href="http://hal.case.edu/~rrc/assets/css/layout.css">

<body>
<div class="container">
    <header class="three columns">

       <!-- RC Picture Here -->
        <img src="http://hal.case.edu/~rrc/images/headshot_rrc.png" class="me">
        <h1>Rebecca R. Carter</h1></br>

       <!-- List Main Links Here -->
        <p>
            <a href="/~rrc/about/">RRC|Web </a> / 
            <a href="/~rrc/contact/"> Email </a> / 
            <a href="http://sr2c.case.edu/"> SR2c </a> /
        </p>

       <!-- List External Links Here -->
        <p>
            <a href="https://www.linkedin.com/in/rebeccarcarter"><i class="fa fa-linkedin-square" aria-hidden = "false"></i> Linkedin </a> / 
            <a href="https://www.researchgate.net/profile/Rebecca_Carter15"><i class="ai fa-fw ai-researchgate-square"></i> ResearchGate </a> /
        </p>

    </header>

    <!-- CV Content After This -->
    <div class="eleven columns clearfix">
      <div class="eleven columns clearfix">
      
       
      
    </div>

 </body>

From your main sub-folder

This is the folder that you typically post your ‘index.markdown’ file which results in a subheader, such as **http://hal.case.edu/~rrc/research/**

Here’s an example of the file header I created called “index.markdown” in the main subfolder:

1
2
3
4
5
6
---
layout: cv_layout
sidebar: collapse
sharing: false
footer: true
---

Inside the file is the command, with a bracket and perecent sign on both sides, include _CV/education.markdown That “includes” bit is the tricky part.

from your _includes folder

From inside the includes folder I had to create another folder called **CV. So for reference its pathway is octopress/source/includes/_CV/ You HAVE to put the underscore. That folder housed the markdown files which were called in order by the previously mentioned index.markdown** file.

Ex: education.markdown file in the _CV folder:

1
2
3
4
## Education
Case Western Reserve University, School of Medicine.  

Case Western Reserve University, College of Arts and Sciences.  

Comments?

There has GOT to be a cleaner way to do this, but I lost patience and cobbled together something. My goal was to get my news items together in one handy place and I succeeded at that, although design wise I still want that two-column format like Joanna has.

Comments