Skip to content

Commit

Permalink
added demo link and fixed main.css link
Browse files Browse the repository at this point in the history
  • Loading branch information
tocttou committed Dec 12, 2017
1 parent d201ce8 commit 285b956
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

*Hacker-Blog is a minimalistic, responsive jekyll theme built for hackers. It is based on the [hacker theme](https://github.com/pages-themes/hacker) for project pages.*

Demo: [https://ashishchaudhary.in/hacker-blog](https://ashishchaudhary.in/hacker-blog)

### Included

1. Pagination
Expand Down
1 change: 0 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ plugins:
- jekyll-paginate
- jekyll-sitemap

google_analytics: "UA-67838485-1"
# Custom variables
owner : "SomeHacker"
year : "2017"
4 changes: 2 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<title>{%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>

<link rel="stylesheet" href="{{ "css/main.css " | prepend: site.baseurl }}">

<link rel="stylesheet" href="{%if site.url %}{{ "/css/main.css" | prepend: site.url }}{% else %}{{ "/css/main.css" }}{% endif %}">
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="ATOM Feed" /> {% seo %}
</head>
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header>
<div>
<a href="/">
<a href="{%if site.url %}{{ site.url }}{% else %}{{ "/" }}{% endif %}">
{% assign owner_first_name = site.owner | split: " " %}
<h1>{{ owner_first_name[0] | downcase }}@home:~$</h1>
</a>
Expand Down
6 changes: 3 additions & 3 deletions _includes/links.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<a href="/archive"><h2 class="header-link">Archive</h2></a>
<a href="/about"><h2 class="header-link">About</h2></a>
<a href="/atom.xml"><h2 class="header-link">RSS</h2></a>
<a href="{%if site.url %}{{ "/archive" | prepend: site.url }}{% else %}{{ "/archive" }}{% endif %}"><h2 class="header-link">Archive</h2></a>
<a href="{%if site.url %}{{ "/about" | prepend: site.url }}{% else %}{{ "/about" }}{% endif %}"><h2 class="header-link">About</h2></a>
<a href="{%if site.url %}{{ "/atom.xml" | prepend: site.url }}{% else %}{{ "/atom.xml" }}{% endif %}"><h2 class="header-link">RSS</h3></a>

0 comments on commit 285b956

Please sign in to comment.