forked from tggSearch/tggSearch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccount.html
More file actions
53 lines (44 loc) · 1.86 KB
/
Copy pathaccount.html
File metadata and controls
53 lines (44 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
layout: default
title: 苹果账号申请,免费苹果账号,梯子账号使用,等其他账号相关教程
description: 此处保护,梯子注册使用方法,苹果海外账号申请方法,免费苹果账号等等资源,建议收藏,定期更新。
canonical_url: 'https://tggsearch.github.io/account.html'
---
<div>
<h2>账号服务类最新文章</h2>
<div> </div>
<ul class="post-list">
{% assign pin_posts = '' | split: ',' %}
{% assign regular_posts = '' | split: ',' %}
{% for category in site.categories %}
{% if 'account' == category[0] %}
{% assign pages_list = category[1] %}
{% for tmp_post in pages_list %}
{% if tmp_post.pin == true %}
{% assign pin_posts = pin_posts | push: tmp_post %}
{% else %}
{% assign regular_posts = regular_posts | push: tmp_post %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% assign combined_posts = pin_posts | concat: regular_posts %}
{% assign count = 0 %}
{% for post in combined_posts %}
{% if post.title != null and count < 30 %}
{% assign count = count | plus: 1 %}
<li>
{% assign date_format = site.cayman-blog.date_format | default: "%b %-d, %Y" %}
{% assign url_link = post.url %}
<h2>
<a class="post-link" href="{{ url_link }}" title="{{ post.title }}">{{ post.title | escape }}</a>
</h2>
{{ post.excerpt | replace: '<script.*?</script>', '' | strip_html | markdownify | truncate: 60 }}
<p>
<span class="post-meta">{{ post.date | date: date_format }}</span>
</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>