Skip to content

Commit

Permalink
Fix and replace url with baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
eah13 committed Aug 25, 2013
1 parent 73299d8 commit 63e73c9
Show file tree
Hide file tree
Showing 16 changed files with 164 additions and 66 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Professor Jekyll Teaches You to Blog Like a Hacker
pygments: true

url: http://silshack.github.io/professorjekyll/
baseurl: /professorjekyll

course:
title: Intro to Hacking
Expand Down
14 changes: 7 additions & 7 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="{{ site.url }}css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="{{ site.url }}css/main.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">

</head>
<body>
Expand All @@ -20,12 +20,12 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="{{ site.url }}">{{ site.name }}</a></h1>
<h1 class="title"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
<p>
<a class="extra" href="{{ site.url }}syllabus.html">syllabus</a>
<a class="extra" href="{{ site.url }}schedule.html">schedule</a>
<a class="extra" href="{{ site.url }}assignments.html">assignments</a>
<a class="extra" href="{{ site.url }}people.html">people</a>
<a class="extra" href="{{ site.baseurl }}/syllabus.html">syllabus</a>
<a class="extra" href="{{ site.baseurl }}/schedule.html">schedule</a>
<a class="extra" href="{{ site.baseurl }}/assignments.html">assignments</a>
<a class="extra" href="{{ site.baseurl }}/people.html">people</a>
</p>
</div>

Expand Down
11 changes: 11 additions & 0 deletions _posts/2013-08-01-programming.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: post
title: "Programming"
author: mccarthy
date: 2013-08-01 12:00:00 PM
categories: jekyll update
---

<div style="text-align: center">
<img src="{{ site.baseurl}}/img/mccarthy.jpg/">
</div>
20 changes: 20 additions & 0 deletions _site/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2013 Elliott Hauser

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14 changes: 7 additions & 7 deletions _site/assignments.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/syntax.css">
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/main.css">
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
Expand All @@ -20,12 +20,12 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="http://silshack.github.io/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="http://silshack.github.io/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/people.html">people</a>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>

Expand Down
Binary file added _site/img/mccarthy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/syntax.css">
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/main.css">
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
Expand All @@ -20,23 +20,23 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="http://silshack.github.io/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="http://silshack.github.io/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/people.html">people</a>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>

<div id="home">
<ul class="posts">

<li><span>07 Aug 2013</span> &raquo; <a href="http://silshack.github.io/professorjekyll//jekyll/update/2013/08/07/welcome-to-prof-jekyll.html">Welcome to Professor Jekyll!</a> by Albert Einstein</li>
<li><span>07 Aug 2013</span> &raquo; <a href="/professorjekyll/jekyll/update/2013/08/07/welcome-to-prof-jekyll.html">Welcome to Professor Jekyll!</a> by Albert Einstein</li>

<li><span>07 Aug 2013</span> &raquo; <a href="http://silshack.github.io/professorjekyll//jekyll/update/2013/08/07/multiple-authors.html">Multiple Authors!</a> by Ludwig Wittgenstein</li>
<li><span>07 Aug 2013</span> &raquo; <a href="/professorjekyll/jekyll/update/2013/08/07/multiple-authors.html">Multiple Authors!</a> by Ludwig Wittgenstein</li>

<li><span>01 Aug 2013</span> &raquo; <a href="http://silshack.github.io/professorjekyll//jekyll/update/2013/08/01/programming.html">Programming</a> by John McCarthy</li>
<li><span>01 Aug 2013</span> &raquo; <a href="/professorjekyll/jekyll/update/2013/08/01/programming.html">Programming</a> by John McCarthy</li>

</ul>
</div>
Expand Down
67 changes: 67 additions & 0 deletions _site/jekyll/update/2013/08/01/programming.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Programming</title>
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
<!-- Ribbon -->
<a href="https://github.com/silshack/professorjekyll"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>

<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>



<h2>Programming</h2>

<p>
by John McCarthy
</p> <!-- /.byline -->

<p class="meta">01 Aug 2013</p>

<div class="post">
<div style='text-align: center'>
<img src='/professorjekyll/img/mccarthy.jpg/' />
</div>
</div>

<div class="end">
John McCarthy invented LISP. Use it. Find John McCarthy on <a href="http://twitter.com/">Twitter</a>, <a href="http://github.com/">Github</a>, and <a href="">on the web</a>.
</div>


<div class="footer">
<div class="contact">
<p>
Jekyll 101 - "Intro to Hacking"
</p>
<p>
Another <a href="http://github.com/silshack/professorjekyll">silshack</a> by <a href="http://twitter.com/hauspoor/">@hauspoor</a> & friends<br />
</p>
</div>
</div>
</div>
</div> <!-- /container -->

</body>
</html>
14 changes: 7 additions & 7 deletions _site/jekyll/update/2013/08/07/multiple-authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/syntax.css">
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/main.css">
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
Expand All @@ -20,12 +20,12 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="http://silshack.github.io/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="http://silshack.github.io/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/people.html">people</a>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>

Expand Down
14 changes: 7 additions & 7 deletions _site/jekyll/update/2013/08/07/welcome-to-prof-jekyll.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/syntax.css">
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/main.css">
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
Expand All @@ -20,12 +20,12 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="http://silshack.github.io/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="http://silshack.github.io/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/people.html">people</a>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>

Expand Down
20 changes: 10 additions & 10 deletions _site/people.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/syntax.css">
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/main.css">
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
Expand All @@ -20,12 +20,12 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="http://silshack.github.io/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="http://silshack.github.io/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/people.html">people</a>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>

Expand All @@ -37,7 +37,7 @@ <h4 id='albert_einstein'>Albert Einstein</h4>
<ul class='posts'>


<li><span>=> <a href='http://silshack.github.io/professorjekyll//jekyll/update/2013/08/07/welcome-to-prof-jekyll.html'>Welcome to Professor Jekyll!</a> - 07 Aug 2013</span></li>
<li><span>=> <a href='/professorjekyll/jekyll/update/2013/08/07/welcome-to-prof-jekyll.html'>Welcome to Professor Jekyll!</a> - 07 Aug 2013</span></li>



Expand All @@ -53,7 +53,7 @@ <h4 id='ludwig_wittgenstein'>Ludwig Wittgenstein</h4>



<li><span>=> <a href='http://silshack.github.io/professorjekyll//jekyll/update/2013/08/07/multiple-authors.html'>Multiple Authors!</a> - 07 Aug 2013</span></li>
<li><span>=> <a href='/professorjekyll/jekyll/update/2013/08/07/multiple-authors.html'>Multiple Authors!</a> - 07 Aug 2013</span></li>



Expand All @@ -69,7 +69,7 @@ <h4 id='john_mccarthy'>John McCarthy</h4>



<li><span>=> <a href='http://silshack.github.io/professorjekyll//jekyll/update/2013/08/01/programming.html'>Programming</a> - 01 Aug 2013</span></li>
<li><span>=> <a href='/professorjekyll/jekyll/update/2013/08/01/programming.html'>Programming</a> - 01 Aug 2013</span></li>


</ul>
Expand Down
14 changes: 7 additions & 7 deletions _site/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/syntax.css">
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/main.css">
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
Expand All @@ -20,12 +20,12 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="http://silshack.github.io/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="http://silshack.github.io/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/people.html">people</a>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>

Expand Down
14 changes: 7 additions & 7 deletions _site/syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width">

<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/syntax.css">
<link rel="stylesheet" href="/professorjekyll/css/syntax.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="http://silshack.github.io/professorjekyll/css/main.css">
<link rel="stylesheet" href="/professorjekyll/css/main.css">

</head>
<body>
Expand All @@ -20,12 +20,12 @@
<div class="container">
<div class="site">
<div class="header">
<h1 class="title"><a href="http://silshack.github.io/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<h1 class="title"><a href="/professorjekyll/">Professor Jekyll Teaches You to Blog Like a Hacker</a></h1>
<p>
<a class="extra" href="http://silshack.github.io/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="http://silshack.github.io/professorjekyll/people.html">people</a>
<a class="extra" href="/professorjekyll/syllabus.html">syllabus</a>
<a class="extra" href="/professorjekyll/schedule.html">schedule</a>
<a class="extra" href="/professorjekyll/assignments.html">assignments</a>
<a class="extra" href="/professorjekyll/people.html">people</a>
</p>
</div>

Expand Down
Binary file added img/mccarthy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 63e73c9

Please sign in to comment.