-name: notes
-markdown: redcarpet
-pygments: true
-permalink : /:month-:day-:year/:title.html
\ No newline at end of file
+name : notes
+markdown : redcarpet
+pygments : true
+permalink : /:month-:day-:year/:title.html
+baseurl : /notes
\ No newline at end of file
<meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS -->
- <link rel="stylesheet" href="/css/syntax.css">
+ <link rel="stylesheet" href="{{ site.baseurl }}/css/syntax.css">
<!-- Custom CSS -->
- <link rel="stylesheet" href="/css/main.css">
+ <link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
</head>
<body>
<div class="site">
<div class="header">
- <h1 class="title"><a href="/">{{ site.name }}</a></h1>
+ <h1 class="title"><a href="{{ site.baseurl }}">{{ site.name }}</a></h1>
</div>
{{ content }}
</div>
</div>
- <script src="/js/script.js"></script>
+ <script src="{{ site.baseurl }}/js/script.js"></script>
</body>
</html>
<ul>
{% for posts in category %}
{% for post in posts %}
- <li><a href="{{ post.url }}">{{ post.title }}</a></li>
+ <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
{% endfor %}
</ul>
<li>
<span>{{ post.date | date_to_string }}</span>
—
- <a href="{{ post.url }}">{{ post.title }}</a>
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
-console.log('hello world');
\ No newline at end of file
#!/bin/bash
-echo "test"
\ No newline at end of file
+jekyll build
+rsycn _site quilime@quilime.com:/home/quilime/gabrieldunne-site/notes
+