Skip to content

Commit

Permalink
Merge pull request hunvreus#31 from Dzhuneyt/gh-pages
Browse files Browse the repository at this point in the history
Issues with latest Jekyll: path is now reserved
  • Loading branch information
hunvreus authored May 2, 2020
2 parents 524227d + 1b1f7b1 commit b15c341
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions _posts/2012-12-24-delete-a-thing.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
category: Stuff
path: '/stuff/:id'
url_path: '/stuff/:id'
title: 'Delete a thing'
type: 'DELETE'

layout: nil
layout: null
---

This method allows the user to post a new thing to his stuff.
Expand All @@ -25,4 +25,4 @@ Sends back a collection of things.
message: 'Your thing (id: 736) was deleted'
}```
For errors responses, see the [response status codes documentation](#response-status-codes).
For errors responses, see the [response status codes documentation](#response-status-codes).
6 changes: 3 additions & 3 deletions _posts/2012-12-25-put-a-thing.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
category: Stuff
path: '/stuff/:id'
url_path: '/stuff/:id'
title: 'Update a thing'
type: 'PUT'

layout: nil
layout: null
---

This method allows the user to retrieve his stuff.
Expand Down Expand Up @@ -36,4 +36,4 @@ Sends back a collection of things.
}
}```
For errors responses, see the [response status codes documentation](#response-status-codes).
For errors responses, see the [response status codes documentation](#response-status-codes).
4 changes: 2 additions & 2 deletions _posts/2012-12-26-post-a-thing.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
category: Stuff
path: '/stuff'
url_path: '/stuff'
title: 'Post a thing'
type: 'POST'

layout: nil
layout: null
---

This method allows users to create a new thing.
Expand Down
6 changes: 3 additions & 3 deletions _posts/2012-12-27-get-stuff.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
category: Stuff
path: '/stuff'
url_path: '/stuff'
title: 'Get stuff'
type: 'GET'

layout: nil
layout: null
---

This method allows users to retrieve stuff.
Expand All @@ -29,4 +29,4 @@ Sends back a collection of things.
}
}```
For errors responses, see the [response status codes documentation](#response-status-codes).
For errors responses, see the [response status codes documentation](#response-status-codes).
6 changes: 3 additions & 3 deletions _posts/2012-12-28-authentication.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
path: '/login'
url_path: '/login'
title: 'Authenticate'

layout: nil
layout: null
---

This method allows users to retrieve stuff.
Expand All @@ -17,4 +17,4 @@ Sends back a collection of things.
name: 'My second thing'
}```
For errors responses, see the [response status codes documentation](#response-status-codes).
For errors responses, see the [response status codes documentation](#response-status-codes).
4 changes: 2 additions & 2 deletions _posts/2012-12-28-response-status-codes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Response status codes'

layout: nil
layout: null
---

### Success
Expand Down Expand Up @@ -38,4 +38,4 @@ For a call with an invalid authentication token for example:
```{
code: 401,
message: 'Access denied: invalid authentication token.'
}```
}```
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<section id='content'>
{% for post in site.posts %}
<article class='{{ post.type }}'>
<a name='{{ post.url }}' href='#{{ post.url }}'><h2>{% if post.type %}<code><b>{{ post.type }}</b> {{ post.path }}</code> {% endif %}{{ post.title }}</h2></a>
<a name='{{ post.url }}' href='#{{ post.url }}'><h2>{% if post.type %}<code><b>{{ post.type }}</b> {{ post.url_path }}</code> {% endif %}{{ post.title }}</h2></a>
<section class='body'>
{{ post.content }}
</section>
Expand Down

0 comments on commit b15c341

Please sign in to comment.