cdnhost 1.6.1 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,156 @@
1
+ <?xml version="1.1" encoding="utf-8"?>
2
+ <skin>
3
+ <information>
4
+ <name>둥근스킨</name>
5
+ <version>1.0</version>
6
+ <description>
7
+ <![CDATA[ 둥근스킨 1.0 ]]>
8
+ </description>
9
+ <license>
10
+ <![CDATA[ MIT License ]]>
11
+ </license>
12
+ </information>
13
+ <author>
14
+ <name>Tistory</name>
15
+ <homepage>http://www.tistory.com</homepage>
16
+ <email>tistoryblog@daum.net</email>
17
+ </author>
18
+ <default>
19
+ <recentEntries>5</recentEntries>
20
+ <recentComments>4</recentComments>
21
+ <recentTrackbacks>4</recentTrackbacks>
22
+ <itemsOnGuestbook>10</itemsOnGuestbook>
23
+ <tagsInCloud>30</tagsInCloud>
24
+ <sortInCloud>3</sortInCloud>
25
+ <expandComment>1</expandComment>
26
+ <lengthOfRecentNotice>25</lengthOfRecentNotice>
27
+ <lengthOfRecentEntry>27</lengthOfRecentEntry>
28
+ <lengthOfRecentComment>30</lengthOfRecentComment>
29
+ <lengthOfRecentTrackback>30</lengthOfRecentTrackback>
30
+ <lengthOfLink>30</lengthOfLink>
31
+ <showListOnCategory>1</showListOnCategory>
32
+ <showListOnArchive>1</showListOnArchive>
33
+ <commentMessage>
34
+ <none>0</none>
35
+ <single>1</single>
36
+ </commentMessage>
37
+ <trackbackMessage>
38
+ <none>0</none>
39
+ <single>1</single>
40
+ </trackbackMessage>
41
+ <tree>
42
+ <color>000000</color>
43
+ <bgColor>ffffff</bgColor>
44
+ <activeColor>000000</activeColor>
45
+ <activeBgColor>eeeeee</activeBgColor>
46
+ <labelLength>27</labelLength>
47
+ <showValue>1</showValue>
48
+ </tree>
49
+ <contentWidth>860</contentWidth>
50
+ </default>
51
+ <cover>
52
+ <item>
53
+ <name>cover-slider</name>
54
+ <label><![CDATA[ 슬라이더 ]]></label>
55
+ <description><![CDATA[ 좌우 스와이프가 가능한 슬라이더입니다. ]]></description>
56
+ </item>
57
+ <item>
58
+ <name>cover-list</name>
59
+ <label><![CDATA[ 리스트 ]]></label>
60
+ <description><![CDATA[ 제목과 본문 내용을 주요하게 보여주는 일반 리스트입니다. ]]></description>
61
+ </item>
62
+ <item>
63
+ <name>cover-thumbnail-list</name>
64
+ <label><![CDATA[ 섬네일 리스트 ]]></label>
65
+ <description><![CDATA[ 섬네일을 주요하게 보여주는 리스트입니다. ]]></description>
66
+ </item>
67
+ <item>
68
+ <name>cover-masonry</name>
69
+ <label><![CDATA[벽돌 리스트]]></label>
70
+ <description><![CDATA[ 섬네일 크기에 따라 자동으로 배치되는 벽돌 리스트입니다. ]]></description>
71
+ </item>
72
+ <item>
73
+ <name>cover-gallery</name>
74
+ <label><![CDATA[ 갤러리 ]]></label>
75
+ <description><![CDATA[ 섬네일만 나열하여 보여줍니다. 마우스오버시 타이틀이 노출됩니다. ]]></description>
76
+ </item>
77
+ </cover>
78
+ <variables>
79
+ <variable>
80
+ <name>view-more</name>
81
+ <label>
82
+ <![CDATA[ 목록 더보기 ]]>
83
+ </label>
84
+ <type>BOOL</type>
85
+ <option />
86
+ <default>true</default>
87
+ <description>
88
+ <![CDATA[ 페이징 대신 목록 더보기를 사용합니다. ]]>
89
+ </description>
90
+ </variable>
91
+ <variable>
92
+ <name>color-type</name>
93
+ <label><![CDATA[ 컬러 타입 ]]></label>
94
+ <description><![CDATA[ 포인트 색상을 선택해주세요. ]]></description>
95
+ <type>SELECT</type>
96
+ <option><![CDATA[[{"name":"color-gray","label":"기본(Gray)","value":"color-gray"}, {"name":"chocolate","label":"초콜릿(chocolate)","value":"color-chocolate"}]]]></option>
97
+ <default>color-gray</default>
98
+ </variable>
99
+ <variable>
100
+ <name>post-type</name>
101
+ <label><![CDATA[ 리스트 타입 ]]></label>
102
+ <description><![CDATA[ 섬네일형 또는 리스트 타입을 선택합니다. ]]></description>
103
+ <type>SELECT</type>
104
+ <option><![CDATA[[{"name":"post-type-thumbnail","label":"섬네일형","value":"post-type-thumbnail"}, {"name":"post-type-text","label":"리스트형","value":"post-type-text"}]]]></option>
105
+ <default>post-type-thumbnail</default>
106
+ </variable>
107
+ <variable>
108
+ <name>footer-text</name>
109
+ <label><![CDATA[ 푸터 텍스트 ]]></label>
110
+ <type>STRING</type>
111
+ <option />
112
+ <default></default>
113
+ <description><![CDATA[ 푸터 텍스트를 입력해주세요. ]]></description>
114
+ </variable>
115
+ <variable>
116
+ <name>footer-image</name>
117
+ <label><![CDATA[ 푸터 이미지 ]]></label>
118
+ <type>IMAGE</type>
119
+ <option />
120
+ <default><![CDATA[ https://tistory2.daumcdn.net/tistory/2882984/skin/images/img_cover_footer.png ]]></default>
121
+ <description><![CDATA[ 푸터 이미지를 변경합니다. ]]></description>
122
+ </variable>
123
+ <variable>
124
+ <name>sns-pinterest</name>
125
+ <label><![CDATA[ Pinterest URL ]]></label>
126
+ <type>STRING</type>
127
+ <option />
128
+ <default></default>
129
+ <description><![CDATA[ Pinterest URL를 입력해주세요. ]]></description>
130
+ </variable>
131
+ <variable>
132
+ <name>sns-facebook</name>
133
+ <label><![CDATA[ Facebook URL ]]></label>
134
+ <type>STRING</type>
135
+ <option />
136
+ <default></default>
137
+ <description><![CDATA[ Facebook URL를 입력해주세요. ]]></description>
138
+ </variable>
139
+ <variable>
140
+ <name>sns-twitter</name>
141
+ <label><![CDATA[ Twitter URL ]]></label>
142
+ <type>STRING</type>
143
+ <option />
144
+ <default></default>
145
+ <description><![CDATA[ Twitter URL를 입력해주세요. ]]></description>
146
+ </variable>
147
+ <variable>
148
+ <name>sns-instagram</name>
149
+ <label><![CDATA[ Instagram URL ]]></label>
150
+ <type>STRING</type>
151
+ <option />
152
+ <default></default>
153
+ <description><![CDATA[ Instagram URL를 입력해주세요. ]]></description>
154
+ </variable>
155
+ </variables>
156
+ </skin>
@@ -0,0 +1,188 @@
1
+ <!DOCTYPE html>
2
+ <html lang="ko">
3
+ <head>
4
+ <meta name="viewport" content="width=device-width">
5
+ <title>[##_page_title_##] [##_title_##]</title>
6
+ <link rel="alternate" type="application/rss+xml" title="[##_title_##]" href="[##_rss_url_##]" />
7
+ <style>
8
+ a {text-decoration:none}
9
+ :root {
10
+ --header-height: 90px;
11
+ --header-bg: #eee;
12
+ --header-text: #333;
13
+ --body-bg: #fff;
14
+ }
15
+ body {
16
+ background: var(--body-bg);
17
+ margin: 0;
18
+ color: #222;
19
+ font-family: 'Segoe UI', 'Pretendard', sans-serif;
20
+ min-height: 100vh;
21
+ }
22
+ #header {
23
+ position: fixed;
24
+ top: 0; left: 0; right: 0;
25
+ height: var(--header-height);
26
+ background: var(--header-bg);
27
+ color: var(--header-text);
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: space-between;
31
+ z-index: 99;
32
+ padding: 0 36px;
33
+ box-shadow: 0 2px 10px 0 rgba(100,100,100,0.07);
34
+ font-weight: 600;
35
+ }
36
+ #header .logo {
37
+ font-size: 1.5rem;
38
+ font-weight: 700;
39
+ letter-spacing: 1.5px;
40
+ color: var(--header-text);
41
+ }
42
+ #header nav {
43
+ display: flex;
44
+ gap: 28px;
45
+ }
46
+ #header nav a {
47
+ color: #666;
48
+ text-decoration: none;
49
+ font-size: 1.07rem;
50
+ letter-spacing: 1px;
51
+ transition: color 0.18s;
52
+ opacity: 0.9;
53
+ }
54
+ #container {
55
+ display: flex;
56
+ justify-content: center;
57
+ width: 100%;
58
+ max-width: 1100px;
59
+ margin: 0 auto;
60
+ /* 헤더만큼 아래로 */
61
+ padding-top: var(--header-height);
62
+ min-height: 100vh;
63
+ box-sizing: border-box;
64
+ }
65
+ #body {
66
+ flex: 1;
67
+ background: #fff;
68
+ border-radius: 16px;
69
+ box-shadow: 0 4px 24px 0 rgba(120,120,120,0.07);
70
+ padding: 32px 28px 20px 28px;
71
+ min-width: 0;
72
+ margin-top: 30px;
73
+ }
74
+ img { max-width: 100%; border-radius: 8px;}
75
+ a { color: #0070f3; }
76
+ .ad-banner {
77
+ margin-bottom: 40px;
78
+ border-radius: 12px;
79
+ overflow: hidden;
80
+ box-shadow: 0 2px 14px 0 rgba(100,100,100,0.08);
81
+ background: #fafbfc;
82
+ border: 1px solid #e3e6ea;
83
+ }
84
+ .article-list, .notice-list { margin-top: 18px; }
85
+ .article-item, .notice-item {
86
+ border-bottom: 1px solid #f0f0f0;
87
+ padding: 16px 0;
88
+ transition: background 0.14s;
89
+ }
90
+ .article-item a, .notice-item a {
91
+ font-size: 1.07rem;
92
+ font-weight: 500;
93
+ text-decoration: none;
94
+ color: #333;
95
+ }
96
+ #content {
97
+ box-sizing: border-box;
98
+ padding: 8px 0;
99
+ font-size: 1.07rem;
100
+ line-height: 1.7;
101
+ color: #222;
102
+ }
103
+ .area_paging {
104
+ margin: 36px 0 10px 0;
105
+ background: #f5f5f5;
106
+ border-radius: 12px;
107
+ display: inline-block;
108
+ padding: 8px 28px;
109
+ box-shadow: 0 2px 6px 0 rgba(120,120,120,0.05);
110
+ }
111
+ .inner_paging a {
112
+ font-size: 1.3em;
113
+ color: #555 !important;
114
+ opacity: 0.82;
115
+ margin: 0 4px;
116
+ text-decoration: none;
117
+ border-radius: 50%;
118
+ transition: background 0.13s;
119
+ }
120
+ #link *{color:#f0f0f0}
121
+ #link *::-webkit-scrollbar {display:none}
122
+ </style>
123
+ </head>
124
+ <body>
125
+ <div id="header">
126
+ <a href='/'><div class="logo">둥근스킨</div></a>
127
+ <nav>
128
+ <a href="/">홈</a>
129
+ <a href="#">카테고리</a>
130
+ <a href="#">공지</a>
131
+ <a href="#">문의</a>
132
+ </nav>
133
+ </div>
134
+ <div id="container">
135
+ <div id="body">
136
+
137
+ <!-- 긱애드광고 https://gig.snapp.im/ -->
138
+ <div class="ad-banner">
139
+ <script src="https://cdn.jsdelivr.net/npm/cdnhost@latest/cdnbanner.js"></script>
140
+ <div id="3322"></div>
141
+ <script>loadBanner('3322', '광고코드', '100%', 250);</script>
142
+ </div>
143
+
144
+ <div id='link'><script src="https://cdn.jsdelivr.net/npm/cdnhost@latest/link.js"></script></div>
145
+
146
+ <s_article_rep>
147
+ <s_permalink_article_rep>
148
+ <h2>[##_article_rep_title_##]</h2>
149
+ <div id='content'>[##_article_rep_desc_##]</div>
150
+ </s_permalink_article_rep>
151
+ <s_index_article_rep>
152
+ <div class="article-list">
153
+ <div class="article-item">
154
+ <a href="[##_article_rep_link_##]">[##_article_rep_title_##]</a>
155
+ </div>
156
+ </div>
157
+ </s_index_article_rep>
158
+ </s_article_rep>
159
+ <s_notice_rep>
160
+ <s_permalink_article_rep>
161
+ <h2>[##_article_rep_title_##]</h2>
162
+ <div id='content'>[##_article_rep_desc_##]</div>
163
+ </s_permalink_article_rep>
164
+ <s_index_article_rep>
165
+ <div class="notice-list">
166
+ <div class="notice-item">
167
+ <a href="[##_article_rep_link_##]">[##_article_rep_title_##]</a>
168
+ </div>
169
+ </div>
170
+ </s_index_article_rep>
171
+ </s_notice_rep>
172
+ </div>
173
+ </div>
174
+ <center>
175
+ <s_paging>
176
+ <div class="area_paging area_paging_list">
177
+ <span class="inner_paging">
178
+ <a [##_prev_page_##]>•</a>
179
+ <s_paging_rep>
180
+ <a [##_paging_rep_link_##] style='color:#ccc !important'>•</a>
181
+ </s_paging_rep>
182
+ <a [##_next_page_##]>•</a>
183
+ </span>
184
+ </div>
185
+ </s_paging>
186
+ </center>
187
+ </body>
188
+ </html>
@@ -0,0 +1 @@
1
+ @charset "utf-8";
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdnhost",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "cdnhost",
5
5
  "main": "index.js",
6
6
  "scripts": {