2
2
layout: default
3
3
---
4
4
5
- {% assign minutes = content | strip_html | number_of_words | divided_by: 180 %}
6
- {% if minutes == 0 %}
7
- {% assign minutes = 1 %}
8
- {% endif %}
9
-
10
5
< div class ="post-header mb2 ">
11
6
< h1 > {{ page.title }}</ h1 >
12
7
< span class ="post-meta "> {{ page.date | date: site.date_format }}</ span > < br >
13
8
< span class ="post-meta ">
14
9
{% if page.author %}
15
10
작성자 : {{page.author}} < br >
16
11
{% endif %}
17
- </ span >
18
-
19
- {% if page.update_date %}
20
- < span class ="post-meta "> {{ site.text.post.updated }}: {{ page.update_date | date: site.date_format }}</ span > < br >
21
- {% endif %}
12
+ </ span > {% if page.update_date %}
13
+ < span class ="post-meta "> {{ site.text.post.updated }}: {{ page.update_date | date: site.date_format }}</ span > < br > {% endif
14
+ %}
22
15
< span class ="post-meta small ">
23
16
{% if page.minutes %}
24
17
{{ page.minutes }} {{ site.text.post.minute_read }}
@@ -32,48 +25,53 @@ <h1>{{ page.title }}</h1>
32
25
{{ content }}
33
26
< br >
34
27
< div class ="">
35
- < script type ='text/javascript ' src ='https://ko-fi.com/widgets/widget_2.js '> </ script > < script type =' text/javascript ' > kofiwidget2 . init ( 'Buy Me a Coffee' , '#46b798' , 'A316F4N' ) ; kofiwidget2 . draw ( ) ; </ script >
36
- < br >
37
- 위 링크를 통해 후원을 받고 있습니다. 모든 후원금은 글을 올려주신 분께 돌아갑니다 .
38
- </ div >
28
+ < script type ='text/javascript ' src ='https://ko-fi.com/widgets/widget_2.js '> </ script >
29
+ < script type =' text/javascript ' > kofiwidget2 . init ( 'Buy Me a Coffee' , '#46b798' , 'A316F4N' ) ; kofiwidget2 . draw ( ) ; </ script >
30
+ < br > 위 링크를 통해 후원을 받고 있습니다. 모든 후원금은 Vue.js 한국 커뮤니티 운영에 사용됩니다 .
31
+ </ div >
39
32
</ article >
40
33
41
- {% if site.show_sharing_icons %}
42
- {% include share_buttons.html %}
43
- {% endif %}
34
+ {% if site.show_sharing_icons %} {% include share_buttons.html %} {% endif %} {% if site.show_post_footers %} {% include
35
+ post_footer.html %} {% endif %} {% if site.disqus_shortname %}
36
+ < div id ="disqus_thread "> </ div >
37
+ < script type ="text/javascript ">
38
+ var disqus_shortname = '{{ site.disqus_shortname }}' ;
39
+ var disqus_identifier = '{{ page.id }}' ;
40
+ var disqus_title = { { page . title | jsonify } } ;
44
41
45
- {% if site.show_post_footers %}
46
- {% include post_footer.html %}
47
- {% endif %}
48
-
49
- {% if site.disqus_shortname %}
50
- < div id =" disqus_thread " > </ div >
51
- < script type =" text/javascript " >
52
- var disqus_shortname = '{{ site.disqus_shortname }}' ;
53
- var disqus_identifier = ' {{ page.id }}' ;
54
- var disqus_title = { { page . title | jsonify } } ;
55
-
56
- ( function ( ) {
57
- var dsq = document . createElement ( 'script' ) ; dsq . type = 'text/javascript' ; dsq . async = true ;
58
- dsq . src = '//' + disqus_shortname + '.disqus.com/embed.js' ;
59
- ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
60
- } ) ( ) ;
61
- </ script >
62
- < noscript > Please enable JavaScript to view the < a href =" http://disqus.com/?ref_noscript " > comments powered by Disqus. </ a > </ noscript >
63
- {% endif %}
64
-
65
- {% if site.facebook_comments %}
66
- < div class =" fb-comments " data-href =" {{ site.url }}{{ page.url }} " data-width =" 100% " data-numposts =" {{ site.facebook_comments_number }} " > </ div >
67
- {% endif %}
42
+ ( function ( ) {
43
+ var dsq = document . createElement ( 'script' ) ; dsq . type = 'text/javascript' ; dsq . async = true ;
44
+ dsq . src = '//' + disqus_shortname + '.disqus.com/embed.js' ;
45
+ ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
46
+ } ) ( ) ;
47
+ </ script >
48
+ < noscript > Please enable JavaScript to view the < a href =" http://disqus.com/?ref_noscript " > comments powered by Disqus. </ a > </ noscript >
49
+ {% endif %} {% if site.facebook_comments %}
50
+ < div class =" fb-comments " data-href =" {{ site.url }}{{ page.url }} " data-width =" 100% " data-numposts =" {{ site.facebook_comments_number }} " > </ div >
51
+ {% endif %} {% if site.show_related_posts %}
52
+ < h3 class =" related-post-title " > {{ site.text.post.related_posts }} </ h3 >
53
+ {% for post in site.related_posts %}
54
+ < div class =" post ml2 " >
55
+ < a href =" {{ post.url | prepend: site.baseurl }} " class =" post-link " >
56
+ < h4 class =" post-title " > {{ post.title }} </ h4 >
57
+ < p class =" post-summary " > {{ post.summary }} </ p >
58
+ </ a >
59
+ </ div >
60
+ {% endfor %} {% endif %}
61
+ < div id =" overlay " > </ div >
62
+ < script src =" https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js " > </ script >
63
+ < script type =" text/javascript " >
64
+ $overlay = $ ( '#overlay' ) ;
68
65
69
- {% if site.show_related_posts %}
70
- < h3 class ="related-post-title "> {{ site.text.post.related_posts }}</ h3 >
71
- {% for post in site.related_posts %}
72
- < div class ="post ml2 ">
73
- < a href ="{{ post.url | prepend: site.baseurl }} " class ="post-link ">
74
- < h4 class ="post-title "> {{ post.title }}</ h4 >
75
- < p class ="post-summary "> {{ post.summary }}</ p >
76
- </ a >
77
- </ div >
78
- {% endfor %}
79
- {% endif %}
66
+ $ ( 'img' ) . click ( function ( ) {
67
+ $overlay . fadeTo ( 200 , 1 ) . css ( {
68
+ backgroundImage : 'url(' + this . src + ')' ,
69
+ backgroundSize : 'contain'
70
+ } ) ;
71
+ } ) ;
72
+ $overlay . click ( function ( ) {
73
+ $ ( this ) . stop ( ) . fadeTo ( 200 , 0 , function ( ) {
74
+ $ ( this ) . hide ( ) ;
75
+ } ) ;
76
+ } ) ;
77
+ </ script >
0 commit comments