pebble/devsite/source/blog/index.html
2025-02-24 18:58:29 -08:00

72 lines
2.5 KiB
HTML

---
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
permalink: /feed.xml
title: Blog
layout: blog/master
tag: all
regenerate: true
---
<h1 class="pagetitle pagetitle--skinny">
<a href="/blog/">Pebble Developer Blog</a>
</h1>
<h2 class="pagesubtitle">A Wristed Development</h2>
<div class="blog-index">
{% for post in paginator.posts %}
{% include blog/index-post.html post=post %}
{% endfor %}
<div class="hidden-s hidden-xs">
<ul class="pagination clearfix">
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Prev</a></li>
{% for page in (1..paginator.total_pages) %}
<li class="{% if page == paginator.page %}active{% endif %}" >
{% if page == 1 %}
<a href="{{ site.baseurl }}/blog/">{{page}}</a>
{% else %}
<a href="{{ site.baseurl }}/blog/{{page}}">{{page}}</a>
{% endif %}
</li>
{% endfor %}
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl }}">Next</a></li>
</ul>
</div>
<div class="visible-s visible-xs">
<div class="row">
<div class="col-xs-2">
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="btn btn--wide btn--fg-white btn--bg-lightblue">Prev</a>
</div>
<div class="col-xs-8">
<div class="form__group">
<div class="select-style no-label">
<select class="js-toc-select">
<option>JUMP TO PAGE</option>
{% for page in (1..paginator.total_pages) %}
{% if page == 1 %}
<option value="{{ site.baseurl }}/blog/">{{page}}</option>
{% else %}
<option value="{{ site.baseurl }}/blog/{{page}}">{{page}}</option>
{% endif %}
{% endfor %}
</select>
</div>
</div>
</div>
<div class="col-xs-2">
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="btn btn--wide btn--fg-white btn--bg-lightblue">Next</a>
</div>
</div>
</div>
</div>