Skip to content

Commit

Permalink
refactor and genericize items
Browse files Browse the repository at this point in the history
  • Loading branch information
staeiou committed Sep 18, 2016
1 parent cd7d3fb commit 51a48a8
Show file tree
Hide file tree
Showing 39 changed files with 238 additions and 735 deletions.
15 changes: 0 additions & 15 deletions _articles/2009-10-01-paper-title-number-2.md

This file was deleted.

15 changes: 0 additions & 15 deletions _articles/2010-10-01-paper-title-number-2.md

This file was deleted.

6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ collections:
teaching:
output: true
permalink: /:collection/:path/
articles:
publications:
output: true
permalink: /:collection/:path/
portfolio:
Expand Down Expand Up @@ -212,10 +212,10 @@ defaults:
author_profile: false
share: false
comments: false
# _articles
# _publications
- scope:
path: ""
type: articles
type: publications
values:
layout: single
author_profile: true
Expand Down
24 changes: 12 additions & 12 deletions _data/authors.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Authors

Billy Rick:
name : "Billy Rick"
uri : "http://thewhip.com"
email : "billy@rick.com"
bio : "What do you want, jewels? I am a very extravagant man."
Name Name:
name : "Name Name"
uri : "http://name.com"
email : "name@name.com"
bio : "This is the first name."
avatar : "bio-photo-2.jpg"
twitter : "extravagantman"
google_plus : "BillyRick"
twitter : "name"
google_plus : "Name"

Cornelius Fiddlebone:
name : "Cornelius Fiddlebone"
email : "cornelius@thewhip.com"
Name2 Name2:
name : "Name2 Name2"
email : "name2@name2.com"
bio : "I ordered what?"
avatar : "bio-photo.jpg"
twitter : "rhymeswithsackit"
google_plus : "CorneliusFiddlebone"
twitter : "name2"
google_plus : "Name"
10 changes: 5 additions & 5 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# main links links
main:
- title: "Publications"
url: /articles/
url: /publications/

- title: "Talks"
url: /talks/

- title: "Teaching"
url: /teaching/

- title: "Portfolio"
url: /portfolio/
Expand All @@ -13,7 +16,4 @@ main:
url: /year-archive/

- title: "CV"
url: /cv/

- title: "Contact"
url: /contact/
url: /cv/
13 changes: 13 additions & 0 deletions _includes/archive-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@
alt="">
</div>
{% endif %}

{% if post.venue %}
Published in <i>{{ post.venue }}</i>, {{ post.date | year }} </br>
{% endif %}

{% if post.paperurl %}
Download <a href=" {{ post.paperurl }} "> here</a> </br>
{% endif %}

{% if post.citation %}
Recommended citation: {{ post.citation }} </br>
{% endif %}

<h2 class="archive__item-title" itemprop="headline">
{% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ base_path }}{{ post.url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
Expand Down
177 changes: 165 additions & 12 deletions _pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,173 @@ redirect_from:

{% include base_path %}

Hi! This is the front page of your Github Pages website. It can be long or it can be short.
A variety of common markup showing how the theme styles them.

You can do anything that markdown does.
# Header one

Heading One
======
You can have headings.
## Header two

Heading Two
------
And subheadings
### Header three

#### Header four

```python
s = "You can have code blocks with syntax highlighting"
print(s)
```
##### Header five

###### Header six

## Blockquotes

Single line blockquote:

> Quotes are cool.
## Tables

### Table 1

| Entry | Item | |
| -------- | ------ | ------------------------------------------------------------ |
| [John Doe](#) | 2016 | Description of the item in the list |
| [Jane Doe](#) | 2019 | Description of the item in the list |
| [Doe Doe](#) | 2022 | Description of the item in the list |

### Table 2

| Header1 | Header2 | Header3 |
|:--------|:-------:|--------:|
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
|-----------------------------|
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
|=============================|
| Foot1 | Foot2 | Foot3 |

## Definition Lists

Definition List Title
: Definition list division.

Startup
: A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.

#dowork
: Coined by Rob Dyrdek and his personal body guard Christopher "Big Black" Boykins, "Do Work" works as a self motivator, to motivating your friends.

Do It Live
: I'll let Bill O'Reilly [explain](https://www.youtube.com/watch?v=O_HyZ5aW76c "We'll Do It Live") this one.

## Unordered Lists (Nested)

* List item one
* List item one
* List item one
* List item two
* List item three
* List item four
* List item two
* List item three
* List item four
* List item two
* List item three
* List item four

## Ordered List (Nested)

1. List item one
1. List item one
1. List item one
2. List item two
3. List item three
4. List item four
2. List item two
3. List item three
4. List item four
2. List item two
3. List item three
4. List item four

## Buttons

Make any link standout more when applying the `.btn` class.

## Notices

**Watch out!** You can also add notices by appending `{: .notice}` to a paragraph.
{: .notice}

## HTML Tags

### Address Tag

<address>
1 Infinite Loop<br /> Cupertino, CA 95014<br /> United States
</address>

### Anchor Tag (aka. Link)

This is an example of a [link](http://github.com "Github").

### Abbreviation Tag

The abbreviation CSS stands for "Cascading Style Sheets".

*[CSS]: Cascading Style Sheets

### Cite Tag

"Code is poetry." ---<cite>Automattic</cite>

### Code Tag

You will learn later on in these tests that `word-wrap: break-word;` will be your best friend.

### Strike Tag

This tag will let you <strike>strikeout text</strike>.

### Emphasize Tag

The emphasize tag should _italicize_ text.

### Insert Tag

This tag should denote <ins>inserted</ins> text.

### Keyboard Tag

This scarcely known tag emulates <kbd>keyboard text</kbd>, which is usually styled like the `<code>` tag.

### Preformatted Tag

This tag styles large blocks of code.

<pre>
.post-title {
margin: 0 0 5px;
font-weight: bold;
font-size: 38px;
line-height: 1.2;
and here's a line of some really, really, really, really long text, just to see how the PRE tag handles it and to find out how it overflows;
}
</pre>

### Quote Tag

<q>Developers, developers, developers&#8230;</q> &#8211;Steve Ballmer

### Strong Tag

This tag shows **bold text**.

### Subscript Tag

Getting our science styling on with H<sub>2</sub>O, which should push the "2" down.

### Superscript Tag

Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.

### Variable Tag

This allows you to denote <var>variables</var>.
54 changes: 6 additions & 48 deletions _pages/archive-layout-with-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,15 @@ A variety of common markup showing how the theme styles them.

Single line blockquote:

> Stay hungry. Stay foolish.
Multi line blockquote with a cite reference:

> People think focus means saying yes to the thing you've got to focus on. But that's not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I'm actually as proud of the things we haven't done as the things I have done. Innovation is saying no to 1,000 things.
<cite>Steve Jobs</cite> --- Apple Worldwide Developers' Conference, 1997
{: .small}
> Quotes are cool.
## Tables

| Employee | Salary | |
| Entry | Item | |
| -------- | ------ | ------------------------------------------------------------ |
| [John Doe](#) | $1 | Because that's all Steve Jobs needed for a salary. |
| [Jane Doe](#) | $100K | For all the blogging she does. |
| [Fred Bloggs](#) | $100M | Pictures are worth a thousand words, right? So Jane × 1,000. |
| [Jane Bloggs](#) | $100B | With hair like that?! Enough said. |
| [John Doe](#) | 2016 | Description of the item in the list |
| [Jane Doe](#) | 2019 | Description of the item in the list |
| [Doe Doe](#) | 2022 | Description of the item in the list |

| Header1 | Header2 | Header3 |
|:--------|:-------:|--------:|
Expand Down Expand Up @@ -98,40 +90,6 @@ Do It Live

Make any link standout more when applying the `.btn` class.

```html
<a href="#" class="btn--success">Success Button</a>
```

[Primary Button](#){: .btn}
[Success Button](#){: .btn .btn--success}
[Warning Button](#){: .btn .btn--warning}
[Danger Button](#){: .btn .btn--danger}
[Info Button](#){: .btn .btn--info}
[Inverse Button](#){: .btn .btn--inverse}
[Light Outline Button](#){: .btn .btn--light-outline}

```markdown
[Primary Button Text](#link){: .btn}
[Success Button Text](#link){: .btn .btn--success}
[Warning Button Text](#link){: .btn .btn--warning}
[Danger Button Text](#link){: .btn .btn--danger}
[Info Button Text](#link){: .btn .btn--info}
[Inverse Button](#link){: .btn .btn--inverse}
[Light Outline Button](#link){: .btn .btn--light-outline}
```

[X-Large Button](#){: .btn .btn--x-large}
[Large Button](#){: .btn .btn--large}
[Default Button](#){: .btn}
[Small Button](#){: .btn .btn--small}

```markdown
[X-Large Button](#link){: .btn .btn--x-large}
[Large Button](#link){: .btn .btn--large}
[Default Button](#link){: .btn}
[Small Button](#link){: .btn .btn--small}
```

## Notices

**Watch out!** You can also add notices by appending `{: .notice}` to a paragraph.
Expand All @@ -147,7 +105,7 @@ Make any link standout more when applying the `.btn` class.

### Anchor Tag (aka. Link)

This is an example of a [link](http://apple.com "Apple").
This is an example of a [link](http://github.com "Github").

### Abbreviation Tag

Expand Down
Loading

0 comments on commit 51a48a8

Please sign in to comment.