Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ navbar:
title: About
- slug: docs
title: Docs
- slug: blog
title: Blog

exclude:
[
Expand Down
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"
/>

<link rel="shortcut icon" type="image/png" href="/images/logo.png" />
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link
rel="canonical"
Expand Down
7 changes: 7 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
<article role="article" class="page card">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<em class="post-meta">
<time
>{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} •
{{ page.author }}{% endif %}{% if page.meta %} • {{
page.meta }}{% endif %}</time
>
</em>
</header>

<div class="post-content">
Expand Down
30 changes: 0 additions & 30 deletions _layouts/post.html

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions _posts/2015-11-12-lorem.md

This file was deleted.

33 changes: 0 additions & 33 deletions _posts/2015-11-12-the-quick-brown-fox-jumps-over-a-lazy-dog.md

This file was deleted.

38 changes: 0 additions & 38 deletions _posts/2015-11-26-lorem-ipsum-dolor-sit.md

This file was deleted.

27 changes: 0 additions & 27 deletions _posts/2015-11-26-welcome-to-jekyll.md

This file was deleted.

6 changes: 3 additions & 3 deletions learn_git.md → _posts/2019-02-20-learn_git.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: page
title: Learn Git
permalink: /learn_git/
title: "Introduction to Git"
author: "Adrian Wennberg, Head SysAdmin 2019/20"
date: 2019-02-02
---


### Installing Git

[Official Git release](https://git-scm.com/downloads)
Expand Down
37 changes: 37 additions & 0 deletions _posts/2020-05-29-guide-to-blogging-netsoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
layout: page
title: "Guide to adding posts to the Netsoc blog"
author: "Rajit Banerjee"
date: 2020-05-29
---

## Welcome to the Netsoc blog!

Here's how you can add your own article to the Netsoc website in 5 simple steps:

- Fork the homepage [repository](https://github.com/ucdnetsoc/homepage).
- Add your Markdown file under `./_posts` following the naming convention: `YYYY-MM-DD-post_name.md`
- Your file should include the following front matter:

```
---
layout: page
title: <title in quotes>
author: <author in quotes>
date: <YYYY-MM-DD>
---
```

For instance, for this post:

```
---
layout: page
title: "Guide to adding posts to the Netsoc blog"
author: "Rajit Banerjee"
date: 2020-05-29
---
```

- Add any required images/files (that may be linked in the post) under `./assets`
- Commit changes, create a pull request, and wait for your post to be approved!
Loading