mirror of
https://github.com/google/pebble.git
synced 2025-06-05 17:53:11 +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
37
devsite/source/_includes/blog/index-post.html
Normal file
37
devsite/source/_includes/blog/index-post.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
{% comment %}
|
||||
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.
|
||||
{% endcomment %}
|
||||
|
||||
<div class="blog-index__post clearfix">
|
||||
<div class="pull blog-index__meta visible-m visible-l">
|
||||
{% if include.post.image.size > 0 %}
|
||||
<img src="{{ include.post.image | assetify }}" width="80" height="80"/>
|
||||
{% else %}
|
||||
{% author_photo include.post.author 80 %}
|
||||
{% endif %}
|
||||
<p>{{ include.post.date | date: "%b %d, %Y" }}</p>
|
||||
</div>
|
||||
<div class="blog-index__body">
|
||||
<h3><a href="{{ include.post.url | prepend: site.baseurl }}">{{ include.post.title }}</a></h3>
|
||||
<p class="blog-index__tags">
|
||||
{% author_link include.post.author %} ·
|
||||
{% for tag in include.post.tags %}
|
||||
<a href="{{ site.baseurl }}/blog/tags/{{ tag | slugize }}/">{{ tag }}</a>{% if forloop.last %}{% else %}, {% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
<div>{{ include.post.excerpt }}</div>
|
||||
<div class="text-right"><a href="{{ include.post.url | prepend: site.baseurl }}">Read More →</a></div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue