Import the pebble dev site into devsite/

This commit is contained in:
Katharine Berry 2025-02-17 17:02:33 -08:00
parent 3b92768480
commit 527858cf4c
1359 changed files with 265431 additions and 0 deletions

View file

@ -0,0 +1,28 @@
---
# 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.
layout: blog/master
---
<h1 class="pagetitle pagetitle--skinny">
<a href="/blog/">Pebble Developer Blog</a>
</h1>
<h2 class="pagesubtitle">{{ page.author_name }}</h2>
<div class="blog-index">
{% assign posts = page.posts | sort: 'date' %}
{% for post in posts reversed %}
{% include blog/index-post.html post=post %}
{% endfor %}
</div>

View file

@ -0,0 +1,81 @@
---
# 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.
layout: default
menu_section: blog
---
<div class="container">
<div class="row">
<div class="col-l-8">
{% include utils/toc_small.html toc=page.toc %}
<div class="hidden-l">
{% include blog/buttons.html %}
</div>
{{ content }}
</div>
<div class="col-l-4">
<div class="gray-box gray-box--fixed gray-box--scrollspy">
{% include blog/buttons.html %}
{% include utils/toc_large.html toc=page.toc %}
<h3>Categories</h3>
<ul>
<li>
<a href="{{ site.baseurl }}/blog/">
{% if page.tag == "all" %}
<strong>All Posts</strong>
{% else %}
All Posts
{% endif %}
</a>
</li>
{% assign sorted_tags = site.tags | hash_sort %}
{% for tag in sorted_tags %}
<li>
<a href="{{ site.baseurl }}/blog/tags/{{ tag | first | slugize }}/">
{% if page.tags contains tag[0] or page.tag == tag[0] %}
<strong>{{ tag[0] }}</strong>
{% else %}
{{ tag[0] }}
{% endif %}
</a>
</li>
{% endfor %}
</ul>
<h3>Authors</h3>
<ul>
{% assign sorted_authors = site.data.authors | hash_sort: 'num_posts' %}
{% for author in sorted_authors reversed %}
<li>
<a href="{{ site.baseurl }}/blog/authors/{{ author | first | slugize }}/">
{% if author[0] == page.author %}
<strong>{{ author[1].name }}</strong>
{% else %}
{{ author[1].name }}
{% endif %}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<div id="modal-newsletter" class="hidden">
{% include blog/newsletter.html %}
</div>

View file

@ -0,0 +1,31 @@
---
# 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.
layout: blog/master
---
<h1 class="pagetitle">{{ page.title }}</h1>
<div class="markdown markdown--staff">
{% include blog/meta.html post=page %}
{% if page.banner %}
<p><img src="{{ page.banner | assetify }}"></p>
{% endif %}
{{ content }}
<hr>
<a id="comments" class="anchor"></a>
<div id="disqus_thread" aria-live="polite" data-post-url="https://developer.getpebble.com{{ page.url }}">
You need JavaScript enabled to read and post comments.
</div>
</div>

View file

@ -0,0 +1,28 @@
---
# 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.
layout: blog/master
---
<h1 class="pagetitle pagetitle--skinny">
<a href="/blog/">Pebble Developer Blog</a>
</h1>
<h2 class="pagesubtitle">{{ page.tag }}</h2>
<div class="blog-index">
{% assign posts = page.posts | sort: 'date' %}
{% for post in posts reversed %}
{% include blog/index-post.html post=post %}
{% endfor %}
</div>