mirror of
https://github.com/google/pebble.git
synced 2025-06-02 08:23:10 +00:00
Import the pebble dev site into devsite/
This commit is contained in:
parent
3b92768480
commit
527858cf4c
1359 changed files with 265431 additions and 0 deletions
44
devsite/source/blog/feed.xml
Normal file
44
devsite/source/blog/feed.xml
Normal file
|
@ -0,0 +1,44 @@
|
|||
---
|
||||
# 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
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Pebble Developer Blog</title>
|
||||
<description>The official blog of the Pebble Developer site.</description>
|
||||
<link>{{ site.url }}{{ site.baseurl }}/blog/</link>
|
||||
<atom:link href="{{ "/blog/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml" />
|
||||
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
||||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
||||
<generator>Jekyll v{{ jekyll.version }}</generator>
|
||||
{% for post in site.posts limit:10 %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
||||
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
||||
{% for tag in post.tags %}
|
||||
<category>{{ tag | xml_escape }}</category>
|
||||
{% endfor %}
|
||||
{% for cat in post.categories %}
|
||||
<category>{{ cat | xml_escape }}</category>
|
||||
{% endfor %}
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
72
devsite/source/blog/index.html
Normal file
72
devsite/source/blog/index.html
Normal file
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
# 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>
|
Loading…
Add table
Add a link
Reference in a new issue