Commit 251fbf29 authored by Sean Packham's avatar Sean Packham

Remove url

parent 473ba35b
......@@ -7,7 +7,7 @@ paginate_path: /blog/page/:num/
paginate: 8
# bump if alterting styles
version: 10
version: 12
# read speed
wpm: 200
......
......@@ -8,9 +8,9 @@
<link rel="canonical" href="{{ page.url | absolute_url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="/feed.xml">
<link rel="stylesheet" href="{{ site.url }}/styles.css?v={{ site.version }}">
<link rel="stylesheet" href="/styles.css?v={{ site.version }}">
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico?v=1"/>
<link rel="shortcut icon" href="/favicon.ico?v=1"/>
</head>
<body class="{{ page.class }}">
......
......@@ -5,16 +5,16 @@ class: index
<header>
<div class="wrapper">
<a class="logo" href="{{ site.url }}">
<img src="{{ site.url }}/images/default/logo.svg" alt="Rocket.CHat">
<a class="logo" href="">
<img src="/images/default/logo.svg" alt="Rocket.CHat">
</a>
<ul>
<li><a {% if page.class == 'download' %}class="active"{%endif%} href="{{ site.url }}/download/">Download</a></li>
<li><a {% if page.class == 'cloud' %}class="active"{%endif%} href="{{ site.url }}/cloud/">Cloud</a></li>
<li><a {% if page.class == 'community' %}class="active"{%endif%} href="{{ site.url }}/community/">Community</a></li>
<li><a {% if page.class == 'download' %}class="active"{%endif%} href="/download/">Download</a></li>
<li><a {% if page.class == 'cloud' %}class="active"{%endif%} href="/cloud/">Cloud</a></li>
<li><a {% if page.class == 'community' %}class="active"{%endif%} href="/community/">Community</a></li>
<li><a {% if page.class == 'docs' %}class="active"{%endif%} href="https://docs.rocket.chat">Docs</a></li>
<li><a {% if page.class == 'blog' %}class="active"{%endif%} href="{{ site.url }}/blog/">Blog</a></li>
<li><a {% if page.class == 'contact' %}class="active"{%endif%} href="{{ site.url }}/contact">Contact</a></li>
<li><a {% if page.class == 'blog' %}class="active"{%endif%} href="/blog/">Blog</a></li>
<li><a {% if page.class == 'contact' %}class="active"{%endif%} href="/contact">Contact</a></li>
</ul>
<div class="clear"></div>
</div>
......@@ -25,19 +25,19 @@ class: index
<footer>
<div class="wrapper">
<ul>
<li><a href="{{ site.url }}/download/">Download</a></li>
<li><a href="{{ site.url }}/cloud/">Cloud</a></li>
<li><a href="/download/">Download</a></li>
<li><a href="/cloud/">Cloud</a></li>
<li><a href="https://rocket.chat/docs/">Docs</a></li>
</ul>
<ul>
<li><a href="{{ site.url }}/team/">Team</a></li>
<li><a href="/team/">Team</a></li>
<li><a href="https://rocketchat.recruitee.com/">Jobs</a></li>
<li><a href="{{ site.url }}/partners/">Partners</a></li>
<li><a href="/partners/">Partners</a></li>
</ul>
<ul>
<li><a href="{{ site.url }}/contact/">Contact</a></li>
<li><a href="{{ site.url }}/press/">Press</a></li>
<li><a href="{{ site.url }}/blog/">Blog</a></li>
<li><a href="/contact/">Contact</a></li>
<li><a href="/press/">Press</a></li>
<li><a href="/blog/">Blog</a></li>
</ul>
<ul>
<li><a href="https://shop.spreadshirt.com/rocketchat" target="_blank">Store</a></li>
......
......@@ -15,16 +15,16 @@ class: blog
<ul>
{% for post in paginator.posts %}
<li class="post">
<a class="header" href="{{ site.url }}{{ post.url | remove: "index.html" }}"
<a class="header" href="{{ post.url | remove: "index.html" }}"
{% if post.cover %}
style="background-image: url('{{ site.url }}{{ post.cover }}')">
style="background-image: url('{{ post.cover }}')">
{% else %}
style="background-image: url('{{ site.url }}/images/blog/post.png')">
style="background-image: url('/images/blog/post.png')">
{% endif %}
</a>
<div class="content">
<div class="top">
<h2><a href="{{ site.url }}{{ post.url | remove: "index.html" }}">{{ post.title }}</a></h2>
<h2><a href="{{ post.url | remove: "index.html" }}">{{ post.title }}</a></h2>
<p class="summary">
{{ post.excerpt | strip_html | truncatewords: 20 }}
</p>
......@@ -45,13 +45,13 @@ class: blog
</ul>
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ site.url }}{{ paginator.previous_page_path }}" class="previous">Previous</a>
<a href="{{ paginator.previous_page_path }}" class="previous">Previous</a>
{% else %}
<span class="previous">Previous</span>
{% endif %}
<span class="page ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ site.url }}{{ paginator.next_page_path }}" class="next">Next</a>
<a href="{{ paginator.next_page_path }}" class="next">Next</a>
{% else %}
<span class="next">Next</span>
{% endif %}
......
......@@ -84,7 +84,7 @@ redirect_from:
<section class="testimonials">
<div class="wrapper">
<div class="left">
<img src="{{ site.url }}/images/testimonials/procempa.jpg" alt="">
<img src="/images/testimonials/procempa.jpg" alt="">
</div>
<div class="right">
<h3>Procempa</h3>
......@@ -144,7 +144,7 @@ redirect_from:
<li>
<h3>Do you offer discounts for NGOs and educational institutes?</h3>
<p>
Yes if you run or work for a <a href="{{ site.url }}/concession">non-profit or educational institute</a>
Yes if you run or work for a <a href="/concession">non-profit or educational institute</a>
you may be eligible for up to 80% discount on Rocket.Chat Cloud.
</p>
</li>
......
......@@ -25,13 +25,13 @@ class: community
Join our <a target="_blank" href="">open community server</a> to chat with the Rocket.Chat team and community.
</p>
<p>
<a target="_blank" href="https://github.com/RocketChat"><img src="{{ site.url }}/images/social/github.svg" alt="GitHub"></a>
<a target="_blank" href="https://www.facebook.com/RocketChat"><img src="{{ site.url }}/images/social/facebook.svg" alt="Facebook"></a>
<a target="_blank" href="https://twitter.com/RocketChat"><img src="{{ site.url }}/images/social/twitter.svg" alt="Twitter"></a>
<a target="_blank" href="https://github.com/RocketChat"><img src="/images/social/github.svg" alt="GitHub"></a>
<a target="_blank" href="https://www.facebook.com/RocketChat"><img src="/images/social/facebook.svg" alt="Facebook"></a>
<a target="_blank" href="https://twitter.com/RocketChat"><img src="/images/social/twitter.svg" alt="Twitter"></a>
</p>
</div>
<div class="right">
<img src="{{ site.url }}/images/index/community.svg" alt="">
<img src="/images/index/community.svg" alt="">
</div>
<div class="clear"></div>
</div>
......@@ -41,7 +41,7 @@ class: community
<div class="wrapper">
<ul>
<li>
<img src="{{ site.url }}/images/community/star.svg" alt="">
<img src="/images/community/star.svg" alt="">
<h3>Star and fork</h3>
<p>
Rocket.Chat is the leading open source team chat application.
......@@ -50,15 +50,15 @@ class: community
</p>
</li>
<li>
<img src="{{ site.url }}/images/community/share.svg" alt="">
<img src="/images/community/share.svg" alt="">
<h3>Use and share</h3>
<p>
<a href="{{ site.url }}/download">Download and install</a> your own server and share Rocket.Chat with your friends
<a href="/download">Download and install</a> your own server and share Rocket.Chat with your friends
and colleagues who haven't experienced the power of an open source team chat platform.
</p>
</li>
<li>
<img src="{{ site.url }}/images/community/bug.svg" alt="">
<img src="/images/community/bug.svg" alt="">
<h3>Squash bugs</h3>
<p>
Rocket.Chat has a passionate and active community, get involved and help us squash bugs and manage issues
......@@ -69,7 +69,7 @@ class: community
</p>
</li>
<li>
<img src="{{ site.url }}/images/community/doc.svg" alt="">
<img src="/images/community/doc.svg" alt="">
<h3>Document</h3>
<p>
You don't have to be a developer to contribute to Rocket.Chat.
......@@ -78,15 +78,15 @@ class: community
</p>
</li>
<li>
<img src="{{ site.url }}/images/community/write.svg" alt="">
<img src="/images/community/write.svg" alt="">
<h3>Write a blog post</h3>
<p>
Write a blog post sharing your Rocket.Chat story and then tell us about it and
we share it on our <a href="{{ site.url }}/blog/">blog</a>, newsletter or social media.
we share it on our <a href="/blog/">blog</a>, newsletter or social media.
</p>
</li>
<li>
<img src="{{ site.url }}/images/community/talk.svg" alt="">
<img src="/images/community/talk.svg" alt="">
<h3>Give a talk</h3>
<p>
Give a talk at a local meetup or conference sharing how you use
......
......@@ -10,7 +10,7 @@ class: download
Download Rocket.Chat for your desktop, mobile or server.
</em>
<a class="button highlight" href="#">Download</a>
<img src="{{ site.url }}/images/download/clients.svg" alt="">
<img src="/images/download/clients.svg" alt="">
</div>
</section>
......@@ -21,23 +21,23 @@ class: download
<ul>
<li>
<div>
<img src="{{ site.url }}/images/download/windows.svg">
<img src="/images/download/windows.svg">
</div>
<h4>Windows</h4>
<a href="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/{{ site.data.download.desktop.version }}/rocketchat-setup-{{ site.data.download.desktop.version }}.exe">Installer</a>
</li>
<li>
<div>
<img src="{{ site.url }}/images/download/finder.svg">
<img src="/images/download/finder.svg">
</div>
<h4>MacOS</h4>
<a href="https://itunes.apple.com/app/rocket.chat/id1086818840"><img src="{{ site.url }}/images/download/mac-store.svg"></a>
<a href="https://itunes.apple.com/app/rocket.chat/id1086818840"><img src="/images/download/mac-store.svg"></a>
<a href="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/{{ site.data.download.desktop.version }}/rocketchat-{{ site.data.download.desktop.version }}.dmg">dmg</a>
<a href="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/{{ site.data.download.desktop.version }}/rocketchat-{{ site.data.download.desktop.version }}.pkg">pkg</a>
</li>
<li>
<div>
<img src="{{ site.url }}/images/download/linux.svg">
<img src="/images/download/linux.svg">
</div>
<h4>Linux</h4>
<a href="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/{{ site.data.download.desktop.version }}/rocketchat_{{ site.data.download.desktop.version }}_amd64.deb">deb(x64)</a>
......@@ -54,17 +54,17 @@ class: download
<ul>
<li>
<div>
<img src="{{ site.url }}/images/download/android.svg">
<img src="/images/download/android.svg">
</div>
<h4>Android</h4>
<a href="https://play.google.com/store/apps/details?id=chat.rocket.android"><img src="{{ site.url }}/images/download/google-play.svg"></a>
<a href="https://play.google.com/store/apps/details?id=chat.rocket.android"><img src="/images/download/google-play.svg"></a>
</li>
<li>
<div>
<img src="{{ site.url }}/images/download/apple.svg">
<img src="/images/download/apple.svg">
</div>
<h4>iOS</h4>
<a href="https://itunes.apple.com/app/rocket-chat/id1148741252"><img class="itunes" src="{{ site.url }}/images/download/itunes-store.svg"></a>
<a href="https://itunes.apple.com/app/rocket-chat/id1148741252"><img class="itunes" src="/images/download/itunes-store.svg"></a>
</li>
</ul>
<div class="clear"></div>
......@@ -91,15 +91,15 @@ class: download
<h2>Server Source</h2>
<ul>
<li>
<img src="{{ site.url }}/images/download/rocket.svg">
<img src="/images/download/rocket.svg">
<a target="_blank" href="https://github.com/RocketChat/Rocket.Chat/releases/latest">Latest Stable</a>
</li>
<li>
<img src="{{ site.url }}/images/download/ruler.svg">
<img src="/images/download/ruler.svg">
<a href="https://github.com/RocketChat/Rocket.Chat/archive/release-candidate.zip">Beta</a>
</li>
<li>
<img src="{{ site.url }}/images/download/ruler.svg">
<img src="/images/download/ruler.svg">
<a target="_blank" href="https://github.com/RocketChat/Rocket.Chat/releases">Past Releases</a>
</li>
</ul>
......@@ -151,7 +151,7 @@ class: download
<section class="testimonials">
<div class="wrapper">
<div class="left">
<img src="{{ site.url }}/images/testimonials/sicoob.gif" alt="">
<img src="/images/testimonials/sicoob.gif" alt="">
</div>
<div class="right">
<h3>Sicoob Credipinho</h3>
......
......@@ -13,8 +13,8 @@ class: index
Run Rocket.Chat on your infrastructure<br>
Be in complete control of your data and platform
</p>
<a class="button primary" href="{{ site.url }}/download/">Download</a>
<a class="button primary" href="{{ site.url }}/download/index.html#support">Get Support</a>
<a class="button primary" href="/download/">Download</a>
<a class="button primary" href="/download/index.html#support">Get Support</a>
</div>
<div class="solution">
<h2>On Rocket.Chat Cloud</h2>
......@@ -26,7 +26,7 @@ class: index
</div>
</div>
<div class="right">
<img src="{{ site.url }}/images/index/screenshot.png" alt="">
<img src="/images/index/screenshot.png" alt="">
</div>
<div class="clear"></div>
</div>
......@@ -44,7 +44,7 @@ class: index
across our products, we are the largest and most active open source team chat community.
</p>
<p>
Join our <a href="{{ site.url }}/community">community</a> and chat to us on
Join our <a href="/community">community</a> and chat to us on
<a target="_blank" href="https://open.rocket.chat">open.rocket.chat</a>.
</p>
<div class="github">
......@@ -66,7 +66,7 @@ class: index
</div>
</div>
<div class="right">
<img src="{{ site.url }}/images/index/community.svg" alt="">
<img src="/images/index/community.svg" alt="">
</div>
<div class="clear"></div>
</div>
......@@ -75,7 +75,7 @@ class: index
<section class="focus features">
<div class="wrapper">
<div class="left">
<img src="{{ site.url }}/images/index/features.svg" alt="">
<img src="/images/index/features.svg" alt="">
</div>
<div class="right">
<h2>Enterprise Features</h2>
......@@ -89,12 +89,12 @@ class: index
<strong>unlimted:</strong>
</p>
<ul>
<li><div class="img-wrapper"><img src="{{ site.url }}/images/index/icons/users.svg" alt=""></div>Users</li>
<li><div class="img-wrapper"><img src="{{ site.url }}/images/index/icons/guests.svg" alt=""></div>Guests</li>
<li><div class="img-wrapper"><img src="{{ site.url }}/images/index/icons/channels.svg" alt=""></div>Channels</li>
<li><div class="img-wrapper"><img src="{{ site.url }}/images/index/icons/messages.svg" alt=""></div>Messages</li>
<li><div class="img-wrapper"><img src="{{ site.url }}/images/index/icons/searches.svg" alt=""></div>Searches</li>
<li><div class="img-wrapper"><img src="{{ site.url }}/images/index/icons/files.svg" alt=""></div>Files</li>
<li><div class="img-wrapper"><img src="/images/index/icons/users.svg" alt=""></div>Users</li>
<li><div class="img-wrapper"><img src="/images/index/icons/guests.svg" alt=""></div>Guests</li>
<li><div class="img-wrapper"><img src="/images/index/icons/channels.svg" alt=""></div>Channels</li>
<li><div class="img-wrapper"><img src="/images/index/icons/messages.svg" alt=""></div>Messages</li>
<li><div class="img-wrapper"><img src="/images/index/icons/searches.svg" alt=""></div>Searches</li>
<li><div class="img-wrapper"><img src="/images/index/icons/files.svg" alt=""></div>Files</li>
</ul>
</div>
<div class="clear"></div>
......@@ -115,7 +115,7 @@ class: index
</p>
</div>
<div class="right">
<img src="{{ site.url }}/images/index/livechat.png" alt="">
<img src="/images/index/livechat.png" alt="">
</div>
<div class="clear"></div>
</div>
......@@ -124,7 +124,7 @@ class: index
<section class="focus translation">
<div class="wrapper">
<div class="left">
<img src="{{ site.url }}/images/index/translation.svg" alt="">
<img src="/images/index/translation.svg" alt="">
</div>
<div class="right">
<h2>Real-time Translation</h2>
......@@ -163,7 +163,7 @@ class: index
<section class="focus own">
<div class="wrapper">
<div class="left">
<img src="{{ site.url }}/images/index/business.svg" alt="">
<img src="/images/index/business.svg" alt="">
</div>
<div class="right">
<h2>Customizable</h2>
......@@ -196,19 +196,19 @@ class: index
<section class="clients">
<div class="wrapper">
<img src="{{ site.url }}/images/clients/canonical.png" alt="Canonical">
<img class="steadymd" src="{{ site.url }}/images/clients/steadymd.png" alt="SteadyMD">
<img class="classuite" src="{{ site.url }}/images/clients/classuite.png" alt="Classuite">
<img class="lisk" src="{{ site.url }}/images/clients/lisk.png" alt="Lisk">
<img class="selu" src="{{ site.url }}/images/clients/selu.png" alt="South Eastern Louisiana University">
<img class="infoshift" src="{{ site.url }}/images/clients/infoshift.png" alt="Info Shift">
<img src="/images/clients/canonical.png" alt="Canonical">
<img class="steadymd" src="/images/clients/steadymd.png" alt="SteadyMD">
<img class="classuite" src="/images/clients/classuite.png" alt="Classuite">
<img class="lisk" src="/images/clients/lisk.png" alt="Lisk">
<img class="selu" src="/images/clients/selu.png" alt="South Eastern Louisiana University">
<img class="infoshift" src="/images/clients/infoshift.png" alt="Info Shift">
</div>
</section>
<section class="testimonials">
<div class="wrapper">
<div class="left">
<img src="{{ site.url }}/images/testimonials/bsa.jpg" alt="">
<img src="/images/testimonials/bsa.jpg" alt="">
</div>
<div class="right">
<h3>Brazilian Space Agency - <span>Aerospace</span></h3>
......
......@@ -15,7 +15,7 @@ class: partners
<ul class="partners">
{% for partner in site.data.partners %}
<li>
<div style="background-image: url('{{ site.url }}{{ partner.logo }}')"></div>
<div style="background-image: url('{{ partner.logo }}')"></div>
<h2>{{ partner.name }}</h2>
<p>{{ partner.description }}</p>
<a href="{{ partner.website }}">Website</a>
......
......@@ -30,7 +30,7 @@ class: press
</p>
</div>
<div class="right">
<img src="{{ site.url }}/images/press/logos/512x512.png" alt="Rocket.Chat Logo">
<img src="/images/press/logos/512x512.png" alt="Rocket.Chat Logo">
</div>
<div class="clear"></div>
</div>
......@@ -39,7 +39,7 @@ class: press
<section class="gabriel">
<div class="wrapper">
<div class="left">
<img src="{{ site.url }}/images/team/member/gabriel-engel-02.jpg" alt="Gabriel Engel">
<img src="/images/team/member/gabriel-engel-02.jpg" alt="Gabriel Engel">
</div>
<div class="right">
<h2>Gabriel Engel</h2>
......@@ -63,15 +63,15 @@ class: press
{% for logo in site.data.logos %}
<li>
<div class="img-wrapper">
<img src="{{ site.url }}/images/press/logos/{{ logo.file }}.{{ logo.main }}" alt="{{ logo.name }}">
<img src="/images/press/logos/{{ logo.file }}.{{ logo.main }}" alt="{{ logo.name }}">
</div>
<h3>{{ logo.name }}</h3>
<div class="download">
{% if logo.png %}
<a target="_blank" href="{{ site.url }}/images/press/logos/{{ logo.file }}.png" target="_blank" title="{{ logo.name }} PNG">PNG</a>
<a target="_blank" href="/images/press/logos/{{ logo.file }}.png" target="_blank" title="{{ logo.name }} PNG">PNG</a>
{% endif %}
{% if logo.svg %}
<a target="_blank" href="{{ site.url }}/images/press/logos/{{ logo.file }}.svg" target="_blank" title="{{ logo.name }} SVG">SVG</a>
<a target="_blank" href="/images/press/logos/{{ logo.file }}.svg" target="_blank" title="{{ logo.name }} SVG">SVG</a>
{% endif %}
</div>
</li>
......
......@@ -26,7 +26,7 @@ class: team
</p>
</div>
<div class="right">
<img src="{{ site.url }}/images/index/community.svg" alt="">
<img src="/images/index/community.svg" alt="">
</div>
<div class="clear"></div> </div>
</section>
......@@ -39,14 +39,14 @@ class: team
{% if member.github_username %}
<a href="https://github.com/{{ member.github_username }}">
{% if member.photo %}
<img src="{{ site.url }}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt="">
<img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt="">
{% else %}
<img src="https://avatars0.githubusercontent.com/u/{{ member.github_uid }}?v=4&s=140" alt="">
{% endif %}
</a>
{% else %}
{% if member.photo %}
<img src="{{ site.url }}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt="">
<img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt="">
{% else %}
<img src="https://github.com/identicons/RocketChat.png" alt="">
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment