mirror of https://github.com/facebook/rocksdb.git
Remove all instances of relative_url until GitHub pages problem is fixed.
I am in email thread with GitHub support about what is happening here.
This commit is contained in:
parent
91300d01f6
commit
2ef92fea51
|
@ -3,7 +3,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
<a href="{{ paginator.previous_page_path | relative_url | replace: '//', '/' }}">« Prev</a>
|
<a href="{{ paginator.previous_page_path | replace: '//', '/' }}">« Prev</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>« Prev</span>
|
<span>« Prev</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -12,14 +12,14 @@
|
||||||
{% if page == paginator.page %}
|
{% if page == paginator.page %}
|
||||||
<em>{{ page }}</em>
|
<em>{{ page }}</em>
|
||||||
{% elsif page == 1 %}
|
{% elsif page == 1 %}
|
||||||
<a href="{{ '/blog' | relative_url }}">{{ page }}</a>
|
<a href="{{ '/blog' }}">{{ page }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ site.paginate_path | relative_url | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
<a href="{{ site.paginate_path | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if paginator.next_page %}
|
{% if paginator.next_page %}
|
||||||
<a href="{{ paginator.next_page_path | relative_url | replace: '//', '/' }}">Next »</a>
|
<a href="{{ paginator.next_page_path | replace: '//', '/' }}">Next »</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>Next »</span>
|
<span>Next »</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="headerContainer">
|
<div class="headerContainer">
|
||||||
<div id="header_wrap" class="wrapper headerWrapper">
|
<div id="header_wrap" class="wrapper headerWrapper">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<img class="projectLogo" height="200px" src="{{ '/static/logo.svg' | relative_url }}" alt="{{ site.title }}" title="{{ site.title }}" />
|
<img class="projectLogo" height="200px" src="{{ '/static/logo.svg' }}" alt="{{ site.title }}" title="{{ site.title }}" />
|
||||||
<h1 id="project_title">{{ site.title }}</h1>
|
<h1 id="project_title">{{ site.title }}</h1>
|
||||||
<h2 id="project_tagline" class="fbossFontLight">{{ site.tagline }}</h2>
|
<h2 id="project_tagline" class="fbossFontLight">{{ site.tagline }}</h2>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="projectLogo">
|
<div class="projectLogo">
|
||||||
<img src="{{ '/static/logo.svg' | relative_url }}" alt="{{ site.title }}">
|
<img src="{{ '/static/logo.svg' }}" alt="{{ site.title }}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="headerWrapper wrapper">
|
<div class="headerWrapper wrapper">
|
||||||
<header>
|
<header>
|
||||||
<a href="{{ '/' | absolute_url }}">
|
<a href="{{ '/' | absolute_url }}">
|
||||||
<img src="{{ '/static/logo.svg' | relative_url }}">
|
<img src="{{ '/static/logo.svg' }}">
|
||||||
<h2>{{ site.title }}</h2>
|
<h2>{{ site.title }}</h2>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -14,7 +14,12 @@
|
||||||
{% if item.category == "external" %}
|
{% if item.category == "external" %}
|
||||||
<a href="{{ item.href }}">{{ item.title }}</a>
|
<a href="{{ item.href }}">{{ item.title }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ item.href | relative_url }}">{{ item.title }}</a>
|
{% comment %}
|
||||||
|
I removed `relative_url` from here for now until the problem we are having with
|
||||||
|
GitHub pages is resolved. Yes, I know this is exactly the same as the if above.
|
||||||
|
See: https://github.com/facebook/rocksdb/commit/800e51553ee029f29581f7f338cbc988c7f6da62
|
||||||
|
{% endcomment %}
|
||||||
|
<a href="{{ item.href }}">{{ item.title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -11,7 +11,7 @@ category: blog
|
||||||
{% assign author = site.data.authors[post.author] %}
|
{% assign author = site.data.authors[post.author] %}
|
||||||
<p>
|
<p>
|
||||||
<strong>
|
<strong>
|
||||||
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||||
</strong>
|
</strong>
|
||||||
on {{ post.date | date: "%B %e, %Y" }} by {{ author.display_name }}
|
on {{ post.date | date: "%B %e, %Y" }} by {{ author.display_name }}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -5,40 +5,40 @@
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Lato';
|
font-family: 'Lato';
|
||||||
src: url("{{ '/static/fonts/LatoLatin-Italic.woff2' | relative_url }}") format('woff2'),
|
src: url("{{ '/static/fonts/LatoLatin-Italic.woff2' }}") format('woff2'),
|
||||||
url("{{ '/static/fonts/LatoLatin-Italic.woff' | relative_url }}") format('woff');
|
url("{{ '/static/fonts/LatoLatin-Italic.woff' }}") format('woff');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Lato';
|
font-family: 'Lato';
|
||||||
src: url("{{ '/static/fonts/LatoLatin-Black.woff2' | relative_url }}") format('woff2'),
|
src: url("{{ '/static/fonts/LatoLatin-Black.woff2' }}") format('woff2'),
|
||||||
url("{{ '/static/fonts/LatoLatin-Black.woff' | relative_url }}") format('woff');
|
url("{{ '/static/fonts/LatoLatin-Black.woff' }}") format('woff');
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Lato';
|
font-family: 'Lato';
|
||||||
src: url("{{ '/static/fonts/LatoLatin-BlackItalic.woff2' | relative_url }}") format('woff2'),
|
src: url("{{ '/static/fonts/LatoLatin-BlackItalic.woff2' }}") format('woff2'),
|
||||||
url("{{ '/static/fonts/LatoLatin-BlackItalic.woff' | relative_url }}") format('woff');
|
url("{{ '/static/fonts/LatoLatin-BlackItalic.woff' }}") format('woff');
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Lato';
|
font-family: 'Lato';
|
||||||
src: url("{{ '/static/fonts/LatoLatin-Light.woff2' | relative_url }}") format('woff2'),
|
src: url("{{ '/static/fonts/LatoLatin-Light.woff2' }}") format('woff2'),
|
||||||
url("{{ '/static/fonts/LatoLatin-Light.woff' | relative_url }}") format('woff');
|
url("{{ '/static/fonts/LatoLatin-Light.woff' }}") format('woff');
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Lato';
|
font-family: 'Lato';
|
||||||
src: url("{{ '/static/fonts/LatoLatin-Regular.woff2' | relative_url }}") format('woff2'),
|
src: url("{{ '/static/fonts/LatoLatin-Regular.woff2' }}") format('woff2'),
|
||||||
url("{{ '/static/fonts/LatoLatin-Regular.woff' | relative_url }}") format('woff');
|
url("{{ '/static/fonts/LatoLatin-Regular.woff' }}") format('woff');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue