Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #20 fixed css and js urls #21

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
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
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: WP REST API v2 Documentation
title: WP REST API v2 Documentation
description: Documentation for version 2.0 of the WP REST API.
# url: http://v2.wp-api.org/
baseurl: /
url: https://ja.wp-api.org
baseurl:
encoding: utf-8
highlighter: pygments
markdown: redcarpet
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<header id="nav-bar">
<h1><a href="{{ site.baseurl }}">WP REST API</a></h1>
<h1><a href="{{ site.url }}">WP REST API</a></h1>
<nav>
<ul>
<li><a href="https://github.com/WP-API/docs-ja">GitHubドキュメント</a></li>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

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

<link rel="stylesheet" href="{{ site.baseurl }}assets/styles/style.css" />
<link rel="stylesheet" href="{{ site.url }}/assets/styles/style.css" />

<!-- Meta -->
<meta content="{{site.title}}" property="og:title" />
Expand All @@ -32,7 +32,7 @@ <h1>{{ page.title }} <small style="float:right;"><a href="https://github.com/WP-
{{ content }}
</section>

<script src="{{ site.baseurl }}assets/scripts/stick.js" async></script>
<script src="{{ site.url }}/assets/scripts/stick.js" async></script>
<script type="text/javascript">
WebFontConfig = {
google: { families: [ 'Lora:400,400italic:latin', 'Istok+Web:400,400italic,700,700italic:latin' ] }
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include_title: No

<div class="hero">

<img src="{{ site.baseurl }}assets/images/banner.jpg" class="banner" />
<img src="{{ site.url }}/assets/images/banner.jpg" class="banner" />

<p class="subtitle">HTTP REST API で WordPress を自由自在!</p>

Expand Down