jekkyl-arumai 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd975e2fc01e4e00941d9da0fd8c93794854a0b1053c4370d4e5cc3a6df5847e
4
- data.tar.gz: f8f5846752b2d69d017cc1a038425ebc145c347322089de0d2317775dd4c980a
3
+ metadata.gz: f5767d3d6a9093370f932f7f42a3869242d1b9a4e9b6a8a638e8e6fceec2ece9
4
+ data.tar.gz: 99d67dbcae024746b3e641dbe653fd11a2167c8c5c39274d40ff7a839414f283
5
5
  SHA512:
6
- metadata.gz: 508dc2d12f07d238999005330faee7dc688011bde16fcf1e5336968a1732efe46487e5decc26794fdf069ccb2091c63d9cfbdc34273f02879fa63bb5854b7776
7
- data.tar.gz: 02b1fbe6d347ffce08ea351df5c96d31882cc85c74a8fa424c9f160b05eae45e07d637a5a0cc879eef1a10add5319480748e0140ad8ce80d4bb5434a95b4c764
6
+ metadata.gz: d7fa6b0942d3fb406208b0469bd3efc1e3745f99e3408a815066897ae3d7c0be95913502e625d0b363da010df2ea3f6fe5474c235627b67003933cc025d16a60
7
+ data.tar.gz: f3813e3ed11e62131687ec61756414747a1198d72e9289f27b8be7e96f751f82bd37f6e20b25e77bbb7fb78b266df505b2891baa8804e4c9d1fdd1acc98782f6
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # blog-lab
1
+ # jekkyl-arumai
2
2
 
3
3
  Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
4
 
@@ -11,13 +11,13 @@ TODO: Delete this and the text above, and describe your gem
11
11
  Add this line to your Jekyll site's `Gemfile`:
12
12
 
13
13
  ```ruby
14
- gem "blog-lab"
14
+ gem "jekyll-arumai"
15
15
  ```
16
16
 
17
17
  And add this line to your Jekyll site's `_config.yml`:
18
18
 
19
19
  ```yaml
20
- theme: blog-lab
20
+ theme: jekyll-arumai
21
21
  ```
22
22
 
23
23
  And then execute:
@@ -26,7 +26,35 @@ And then execute:
26
26
 
27
27
  Or install it yourself as:
28
28
 
29
- $ gem install blog-lab
29
+ $ gem install jekyll-arumai
30
+
31
+
32
+ ## UI Customization
33
+
34
+ #### Changing the Prisma Theme
35
+
36
+ To change the Prisma theme, add the following line to your config.yml file:
37
+
38
+ ```yaml
39
+ prisma:
40
+ theme_name: twilight
41
+ ```
42
+
43
+ This line will replace the default Prisma theme with the specified one. You can visit the Prisma website for available theme names. Currently supported themes include: twilight, dark, funky, okaidia, coy, solarizedlight, and tomorrow.
44
+
45
+ #### Replacing the Default Home Page Image
46
+
47
+ To replace the default home page image, add the following page variables to your index.md file. Here is a sample code:
48
+
49
+
50
+ ```markdown
51
+ ---
52
+ layout: home
53
+ image_url: "https://images.pexels.com/photos/2659939/pexels-photo-2659939.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
54
+ ---
55
+ ```
56
+
57
+ This markdown format will correctly set a new image for your home page.
30
58
 
31
59
  ## Usage
32
60
 
@@ -2,8 +2,10 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <title>Bootstrap demo</title>
5
+ <meta name="viewport" content="width=device-width, user-scalable=no">
6
+ <meta name="description" content="{{site.description}}">
7
+ <meta name="author" content="{{site.author}}">
8
+ <title>{{site.title}}</title>
7
9
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
8
10
  {% assign themes = "twilight,dark,funky,okaidia,coy,solarizedlight,tomorrow" | split:"," %}
9
11
  {% if site.prisma.theme_name and themes contains site.prisma.theme_name %}
@@ -15,30 +17,35 @@
15
17
  <link href="/assets/theme.css" rel="stylesheet" />
16
18
  </head>
17
19
  <body>
18
- <div class="container">
19
- <nav class="navbar navbar-expand-lg navbar-light bg-light">
20
- <div class="container-fluid">
21
- <a class="navbar-brand" href="/">{{ site.title }}</a>
22
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
23
- <span class="navbar-toggler-icon"></span>
24
- </button>
25
- <div class="collapse navbar-collapse" id="navbarNavDropdown">
26
- <ul class="navbar-nav">
27
- {% assign pages = site.pages | where_exp: 'page', 'page.title' %}
28
- {% for page in pages %}
29
- <li class="nav-item">
30
- <a class="nav-link active" aria-current="page" href="{{page.url}}">{{page.title}}</a>
31
- </li>
32
- {% endfor %}
33
- </ul>
20
+ <div class="container-fluid arumai-bg-color navbar-container">
21
+ <div class="container">
22
+ <nav class="navbar navbar-expand-lg">
23
+ <div class="container-fluid">
24
+ <a class="navbar-brand" href="/">{{ site.title }}</a>
25
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
26
+ <span class="navbar-toggler-icon"></span>
27
+ </button>
28
+ <div class="collapse navbar-collapse" id="navbarNavDropdown">
29
+ <ul class="navbar-nav">
30
+ {% assign pages = site.pages | where_exp: 'page', 'page.title' %}
31
+ {% for page in pages %}
32
+ <li class="nav-item">
33
+ <a class="nav-link active" aria-current="page" href="{{page.url}}">{{page.title}}</a>
34
+ </li>
35
+ {% endfor %}
36
+ </ul>
37
+ </div>
34
38
  </div>
35
- </div>
36
- </nav>
39
+ </nav>
40
+ </div>
37
41
  </div>
38
42
 
39
43
  <div class="container">
40
44
  {{ content }}
41
45
  </div>
46
+ <footer class="footer footer-block">
47
+ <div class="container"><p>Designed with <b><a href="https://gitlab.com/sathias/jekkyl-arumai">Arumai</a></b> theme.</p></div>
48
+ </footer>
42
49
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
43
50
  <script src="/assets/prism.js"></script>
44
51
  </body>
data/_layouts/posts.html CHANGED
@@ -1,14 +1,15 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div class="row mt-2">
4
+ <div class="row mt-2 posts-link">
5
5
  <div class="col-md-3"></div>
6
6
  <div class="col-md-6">
7
- <h3>Posts</h3>
8
7
  <ul class="list-group list-group-flush list-group-numbered">
9
8
  {% for post in site.posts %}
10
- <li class="list-group-item"><a href="{{ post.url }}">{{post.title}}<a></li>
11
- {% endfor %}
9
+ <li class="list-group-item">
10
+ <a href="{{ post.url }}">{{post.title}}</a> - <i>{{post.date | date_to_string: "ordinal", "US"}}</i>
11
+ </li>
12
+ {% endfor %}
12
13
  </ul>
13
14
  </div>
14
15
  </div>
data/assets/theme.css CHANGED
@@ -4,4 +4,33 @@
4
4
 
5
5
  .home-page-image {
6
6
  object-fit: cover;
7
+ }
8
+
9
+ .navbar-container {
10
+ border-bottom: 0.5px #6D5D6E solid;
11
+ margin-bottom: 20px;
12
+ }
13
+
14
+ .posts-link li {
15
+ color: #6D5D6E !important;
16
+ }
17
+
18
+ .navbar-container a, .posts-link a {
19
+ color: #6D5D6E !important;
20
+ }
21
+
22
+ .footer-block p {
23
+ color: #ccc;
24
+ padding: 10px 0;
25
+ font-size: 13px;
26
+ color: #9f9d9d;
27
+ text-align: center;
28
+ }
29
+
30
+ .footer-block a {
31
+ color: #6D5D6E;
32
+ }
33
+
34
+ .posts-link li i {
35
+ font-size: 13px;
7
36
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekkyl-arumai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sathia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-11 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -42,7 +42,7 @@ files:
42
42
  - assets/prism.css
43
43
  - assets/prism.js
44
44
  - assets/theme.css
45
- homepage: https://sathias.gitlab.io
45
+ homepage: https://gitlab.com/sathias/jekkyl-arumai
46
46
  licenses:
47
47
  - MIT
48
48
  metadata: {}