betabot 0.2.3 → 0.2.5
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.
- checksums.yaml +4 -4
- data/_layouts/home.html +19 -4
- data/_layouts/post.html +33 -13
- data/assets/style.css +12 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fba0ec69b843c9aee7df00760dbc7d8719fe196dae8d6bc12364ae8ec2f18c59
|
4
|
+
data.tar.gz: 46f73eefb4f10bcbc00fccedada1b867c4927969b062d8200d858fb740b5782f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90419fd0e87c8139cd729adfa0aafbb872ffd2abeb423f2fe0277fd9704e8ee77187d676460b18c7fea6288398cee4a67feda56ec317584cef51e7af0ed45f0b
|
7
|
+
data.tar.gz: 7ab5798a708f2a614c97c931157fc7967582a98f4b4dde452657f29c38ff94ba15ebb53d3d2638e96a8065bd6657b4da7cb2bf788132a8a37f67376881f96b47
|
data/_layouts/home.html
CHANGED
@@ -16,12 +16,27 @@ layout: default
|
|
16
16
|
<!-- Content -->
|
17
17
|
<div class="Content">
|
18
18
|
<!-- Python -->
|
19
|
-
<div class="Category lead border-bottom
|
19
|
+
<div class="Category lead border-bottom pl-2 pr-2">Python</div>
|
20
|
+
<div class="row m-2">
|
20
21
|
{% for subtopic in site.data.python %}
|
21
|
-
<
|
22
|
+
<div class="col-md-3 col-12 m-1 p-1 border border-dark rounded text-center"><a class="Link" href="{{ subtopic.link | datapage_url: 'python' }}">{{subtopic.title}}</a></div>
|
22
23
|
{% endfor %}
|
23
|
-
|
24
|
-
|
24
|
+
</div>
|
25
|
+
<!-- Math -->
|
26
|
+
<div class="Category lead border-bottom pl-2 pr-2">Toán</div>
|
27
|
+
<div class="row m-2">
|
28
|
+
{% for subtopic in site.data.math %}
|
29
|
+
<div class="col-md-3 col-12 m-1 p-1 border border-dark rounded text-center"><a class="Link" href="{{ subtopic.link | datapage_url: 'math' }}">{{subtopic.title}}</a></div>
|
30
|
+
{% endfor %}
|
31
|
+
</div>
|
32
|
+
<!-- Machine Learning -->
|
33
|
+
<div class="Category lead border-bottom pl-2 pr-2">Thuật toán</div>
|
34
|
+
<div class="row m-2">
|
35
|
+
{% for subtopic in site.data.algorithm %}
|
36
|
+
<div class="col-md-3 col-12 m-1 p-1 border border-dark rounded text-center"><a class="Link" href="{{ subtopic.link | datapage_url: 'algorithm' }}">{{subtopic.title}}</a></div>
|
37
|
+
{% endfor %}
|
38
|
+
</div>
|
39
|
+
<!-- Deep Learning -->
|
25
40
|
</div>
|
26
41
|
|
27
42
|
<br>
|
data/_layouts/post.html
CHANGED
@@ -1,19 +1,39 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
</
|
4
|
+
<div class="container bg-white">
|
5
|
+
<!-- Navbar -->
|
6
|
+
<nav class="navbar navbar-light bg-white border-bottom pl-1 pr-1">
|
7
|
+
<a class="Brand navbar-brand" href="{{ "/index.html" | relative_url }}"> <img src="{{ "/assets/logo.png" | relative_url }}" width="40px" height="40px"> BetaBot</a>
|
8
|
+
<nav class="nav">
|
9
|
+
<a class="NavLink Active nav-link" href="{{ "/index.html" | relative_url }}">Blog</a>
|
10
|
+
<a class="NavLink nav-link" href="{{ "/about.html" | relative_url }}">About</a>
|
11
|
+
</nav>
|
12
|
+
</nav>
|
12
13
|
|
13
|
-
<br>
|
14
|
+
<br>
|
15
|
+
<!-- Content -->
|
16
|
+
<div class="Content">
|
17
|
+
<!-- Title -->
|
18
|
+
<p class="PostTitle text-center lead">{{page.title}}</p>
|
14
19
|
|
15
|
-
|
16
|
-
<div class="ml-1 mr-1">
|
17
|
-
{{ content }}
|
18
|
-
</div>
|
20
|
+
<br>
|
19
21
|
|
22
|
+
<!-- Content -->
|
23
|
+
<div class="PostContent ml-1 mr-1">
|
24
|
+
{{ content }}
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<br>
|
29
|
+
|
30
|
+
<!-- Footer -->
|
31
|
+
<nav class="navbar navbar-light bg-white border-top">
|
32
|
+
<p>2019 © Trang Anh Thuấn</p>
|
33
|
+
<nav class="nav">
|
34
|
+
<a class="NavLink nav-link" href="#"><i class="fab fa-linkedin-in"></i></a>
|
35
|
+
<a class="NavLink nav-link" href="#"><i class="fab fa-github"></i></a>
|
36
|
+
<a class="NavLink nav-link" href="#"><i class="fas fa-envelope"></i></a>
|
37
|
+
</nav>
|
38
|
+
</nav>
|
39
|
+
</div>
|
data/assets/style.css
CHANGED
@@ -18,22 +18,30 @@ body{
|
|
18
18
|
.Category{
|
19
19
|
font-size: 1.5rem !important;
|
20
20
|
}
|
21
|
+
|
21
22
|
/* Home */
|
22
23
|
.Content{
|
23
|
-
min-height: calc(100vh -
|
24
|
+
min-height: calc(100vh - 175px);
|
24
25
|
}
|
25
26
|
.Title{
|
26
|
-
font-size: 1.
|
27
|
+
font-size: 1.20rem !important;
|
27
28
|
}
|
28
|
-
.
|
29
|
+
.Link{
|
29
30
|
color: #343a40!important;
|
30
31
|
text-decoration: none;
|
31
32
|
}
|
32
|
-
.
|
33
|
+
.Link:hover{
|
33
34
|
color: #343a40!important;
|
34
35
|
text-decoration: none;
|
35
36
|
}
|
36
37
|
.Tag:hover{
|
37
38
|
color: inherit !important;
|
38
39
|
background: inherit !important;
|
40
|
+
}
|
41
|
+
/* Post */
|
42
|
+
.PostTitle{
|
43
|
+
font-size: 2rem !important;
|
44
|
+
}
|
45
|
+
.PostContent>p{
|
46
|
+
text-indent: 2rem;
|
39
47
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: betabot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
rubygems_version: 3.0.
|
89
|
+
rubygems_version: 3.0.6
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: ''
|