Skip to content

Implementasi

Chetabahana edited this page Feb 18, 2021 · 1079 revisions

Table of Contents

Arsitektur

Implementasi adalah sebuah tindakan atau proses gagasan yang sudah disusun dengan cermat dan detail. Implementasi ini umumnya tuntas sesudah di anggap permanen.

Pada project ini kita akan bahas tentang pengejawantahan dari implementasi lebih ke realisasi aplikasi, atau pelaksanaan rencana, ide, model, desain, spesifikasi, standar, algoritma, atau kebijakan untuk spesifikasi atau standar perhitungan kedalam bahasa pemrograman.

Detilnya dibahas terpisah yang berujung pada konfigurasi Program dalam tiga (3) proses: (1). Bagan (formasi-329), (2). Diagram (formasi-289), dan (3). Mapping (formasi-168).

Struktur

directory _assets  
   directory a  
     file a1 <- weight: 1    
     file a2 <- weight: 2       
   directory b    
     file b1 <- weight: 1    
     file b2 <- weight: 2        
     directory c    
        file c1 <- weight: 1    
        file c2 <- weight: 2  

Githooks

#!/bin/sh
# (replace "find ." with "find ./<path>" below, to work with only specific paths)

# (these lines are really all one line, on multiple lines for clarity)
# ...find symlinks which do not dereference to directories...
find . -type l -exec test '!' -d {} ';' -print -exec sh -c \
# ...remove the symlink blob, and add the content diff, to the index/cache
    'git rm --cached "$1"; diff -au /dev/null "$1" | git apply --cached -p1 -' \
# ...and call out to "sh".
    "process_links_to_nondir" {} ';'

# the end
Dalam pemrograman Hooks dapat Anda tempatkan di direktori hooks untuk memicu tindakan pada titik tertentu dalam eksekusi git. Kait yang tidak memiliki set bit yang dapat dieksekusi diabaikan.


Tehnik ini sering sekali digunakan dalam pembuatan plugin,component dalam suatu aplikasi baik cms,ecommerce,intranet aplikasi.

Secara default direktori hooks adalah $ GIT_DIR / hooks, tetapi itu dapat diubah melalui variabel konfigurasi core.hooksPath (lihat git-config (1)).

Sebelum Git memanggil sebuah hook, ia mengubah direktori kerjanya menjadi $ GIT_DIR dalam repositori kosong atau root dari pohon yang berfungsi dalam repositori non-telanjang.

Pengecualian adalah kait yang dipicu selama push (pra-terima, perbarui, pasca-terima, pasca-pembaruan, push-to-checkout) yang selalu dijalankan dalam $ GIT_DIR.

Hooks bisa mendapatkan argumen mereka melalui lingkungan, argumen command-line, dan stdin. Lihat dokumentasi untuk setiap kait di bawah ini untuk detailnya.

git init dapat menyalin kait ke repositori baru, tergantung pada konfigurasinya. Lihat bagian "TEMPLATE DIRECTORY" di git-init (1) untuk detailnya. Ketika sisa dokumen ini mengacu pada "kait default", itu berbicara tentang templat default yang dikirimkan bersama Git.

Mekanisme

Parameter

Alur 6 ke 9 berasal dari alur 5 ke 6 adalah proses ke-1/2 Formasi 25-29 (id: 83) pada Partisi ke-5 atau ke-11/12 dari Flowchart. Scope: Blok 16 ke (39,50) via (25,26).

Angka 1771 memiliki sekaligus dua (2) angka tujuh (7) demikian juga dengan akar digitalnya sehingga menjadikannya sebagai angka paling dominan disini.

+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |  6  |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|     |     |     |     |     |     |     |
+-----+-----+-----+-----+-----+-----+-----+

Cermin

11 is the top left prime position it cascades out to the left and circles back around the system.
+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |   6 |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|     |     |     |  11 |     |     |     |
+-----+-----+-----+-----+-----+-----+-----+

Batas

1 or 19 is rather the top right prime position it mirrors 11, cascading out to the right and back around the system.
+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |   6 |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|  19 |     |     |  11 |  19 |     |     |
+-----+-----+-----+-----+-----+-----+-----+

Mirror

2 and 10 act as "doubler" alternating between the doubling of prime next to them and across (Red: illustrated by an hexagon covering number 2).

The number 6 multiplies itself trough the system as a straight line.

13 is rather the top right prime position it mirrors 18, cascading out to the left and back around the system.
+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |   6 |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|  19 |  17 |     |  11 |  19 |  18 |     |
+-----+-----+-----+-----+-----+-----+-----+

The number 3 multiplies itself trough the system as a perfect square.. It bounces from position 3 to 6, to 9, to 12. All multiplies of 3 are found in these positions (Red: illustrated by a perfect square covering number 3).
+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |   6 |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|  19 |  17 |  12 |  11 |  19 |  18 |     |
+-----+-----+-----+-----+-----+-----+-----+

5 is the first prime position. It functions as a star in some respects bouncing back and forth across the system counter clockwise (Red: illustrated by counter clockwise of bouncing star polygon)
+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |  6  |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|                 1771                    |
+-----+-----+-----+-----+-----+-----+-----+

+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |  6  |   7 |
+-----+-----+-----+-----+-----+-----+-----+
         17       |        71 - 17        


+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |  6  |   7 |
+-----+-----+-----+-----+-----+-----+-----+
         17       |  11 |   71 - 17 - 11  

7 is the second prime position. It mirrors the path of 5 touching each postions exactly opposite criss-crossing 5's path clockwise (Red: illustrated by clockwise of bouncing star polygon)

X7 = 71 - 17 - 11 = 43

+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |   6 |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|  19 |  17 |  12 |  11 |  19 |  18 |  43 |
+-----+-----+-----+-----+-----+-----+-----+

Twin Primes:
P(5, 7), (11, 13), (17, 19)
│    │    │
5:19 │    │
│    7:17 │
└──  5 + 7 = 12
          11 │
          │  └── 12 + 7 = 19
          │
          └──    11 + 7 = 18
             └── 71 - 17 - 11 = 43
                                └── 4 + 3 = 7

∑Terms = 19 + 17 + 12 + 11 + 19 + 18 + 43 = 139
                                            └── 1 + 3 + 9 = 13
                                                            └── 1 + 3 = 4
Permutations:
∑(5,7,11,13,17,19)=72
6 & 7 = 67 = 19th prime
6+7=13, 7+2=9, 67+72=139
Jumlahnya 139 cocok dengan angka kunci pertama..


Untuk selanjutnya kita sebut saja formasi ini sebagai formasi 1-3-9.

Sampai disini kita sudah menentukan metoda untuk kunci pertama yaitu 139.

+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |   6 |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|  19 |  17 |  12 |  11 |  19 |  18 |  43 | 139
+-----+-----+-----+-----+-----+-----+-----+

Keistimewaan angka 139 menurut wikipedia:

  • 139 adalah bilangan prima ke-34.
  • Ini adalah prime kembar dengan 137.
  • Karena 141 adalah semiprime, 139 adalah prima Chen.
  • 139 adalah prime terkecil sebelum gap prime length 10. [1]
  • Angka ini adalah jumlah dari lima bilangan prima berurutan ( 19 + 23 + 29 + 31 + 37 ).
  • Ini adalah faktor terkecil dari 64079.
  • Ini juga merupakan faktor terkecil dari sembilan istilah pertama dari urutan Euclid-Mullin, menjadikannya istilah kesepuluh.
  • 139 adalah angka bahagia dan angka yang sangat non-palindromik.
  • Simak untuk keistimewaan² lainnya.

Dari teori DNA maka fenomena yang paling cocok dengan uraian di atas adalah Rekombinasi DNA yaitu mencakup pemutusan dan penggabungan kembali sel kromososm.


Identifikasi

Alur 9 ke 10 berasal dari alur 6 ke 9 adalah proses ke-2/2 Formasi 25-29 (id: 83) pada Partisi ke-5 atau ke-12/12 dari Flowchart. Scope: Blok 17 ke (51,68) via (27,29).

Pada bagian ini kita akan bahas tentang detil pewarisan dari Diagram Flowchart berikut dengan instantiation dan implementasinya.

id: 43

---+-----+-----
 1 | 1   | 8
---+-----+-----
 2 | 9   | 14
---+-----+-----
 3 | 15  | 25
---+-----+-----
 4 | 26  | 45
---+-----+-----
 5 | 46  | 56
---+-----+-----
 6 | 57  | 66
---+-----+-----
 7 | 67  | 73
---+-----+-----
 8 | 74  | 80
---+-----+-----
 9 | 81  | 89
---+-----+-----
Twin Primes: 
(5,7), (11,13), (17,19)

Horizontal

+----+----+----+----+----+----+
|  5 |  7 | 11 | 13 | 17 | 19 |
+----+----+----+----+----+----+
Hexagon
     1    |    2    |    3    |
+----+----+----+----+----+----+
|  5 |  7 | 11 | 13 | 17 | 19 |
+----+----+----+----+----+----+
        7 |      13 |      19 |

Permutations:
7 x 13 x 19 = 1729
1729 = 19 x 91

Untuk mendapatkan kombinasi ulang maka kita lakukan pemecahan dan penyatuan kembali seperti peta Rekombinasi DNA berikut ini:


Transformasi

     1    |    2    |    3    |    3    |    2    |    1    |
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 | 11 | 13 | 17 | 19 |    |    |    |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |  Φ |
Posisi-1
1 or 13 is rather the top right prime position it mirrors 11, cascading out to the right and back around the system.

Seharusnya:

1 or 19 is the top right prime position it mirrors 11, cascading out to the right and back around the system.

Sequence:

                         |  1    2    3    4    5    6   7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 | 11 | 13 | 17 | 19 |    |    |    |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |
Posisi-2
2 and 10 act as "doubler" alternating between the doubling of prime next to them and across (Red: illustrated by an hexagon covering number 2).
                         |  1    2    3    4    5    6    7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 | 11 | 13 | 17 | 19 |    |    |    |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                       | |      17
                       |         ^
                       └─ ─  ─ ─┘

                         |  1    2    3    4    5    6   7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 | 11 | 13 |    | 19 | 17 |    |    |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |       √
Posisi-3
The number 3 multiplies itself trough the system as a perfect square. It bounces from position 3 to 6, to 9, to 12. All multiplies of 3 are found in these positions (Red: illustrated by a perfect square covering number 3).
                         |  1    2    3    4    5    6    7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 | 11 | 13 |    | 19 | 17 |    |    |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                  |      |           12
                  |                   ^
                  └─ ─ ─ ─ ─ ─   ─ ─┘

                         |  1    2    3    4    5    6   7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 | 11 |    |    | 19 | 17 | 12 |    |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |            √
Posisi-4
The number 4 multiplies itself trough the system as a Equilateral Triangles. It bounces from position 4, 8, and 12. All multiplies of 4 are found in these positions
(Red: illustrated by a triangle covering number 4).
11 is the top left prime position it cascades out to the left and circles back around the system (Red: illustrated by counter clockwise of golden ratio)
                         |  1    2    3    4    5    6    7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 | 11 |    |    | 19 | 17 | 12 |    |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
             |      |                     11
             |                             ^
             └─ ─ ─ ─ ─ ─ ─ ─ ── ─ ─ ─ ─┘

                         |  1    2    3    4    5    6   7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 |    |    |    | 19 | 17 | 12 | 11 |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |                 √
Posisi-5
5 is the first prime position. It functions as a star in some respects bouncing back and forth across the system counter clockwise (Red: illustrated by counter clockwise of bouncing star polygon)
All other exception are multiplies of 5 and 7 or 11 and 13. All squarred primes land in position 1. All twin primes (pairs on the sides of 6 and 12 up) to be a multiplies of 12.
                         |  1    2    3    4    5    6    7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 |    |    |    | 19 | 17 | 12 | 11 |    |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |  |                  19
                            |                   ^
                            └─ ─ ─ ─ ─ ─ ─ ─ ─┘

                         |  1    2    3    4    5    6   7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 |    |    |    | 19 | 17 | 12 | 11 | 19 |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |                      √
Posisi-6
The number 6 multiplies itself trough the system as a straight line. It bounces back and forth between 6 and 12 (Red: illustrated by a straight line).
All other exception are multiplies of 5 and 7 or 11 and 13. All squarred primes land in position 1. All twin primes (pairs on the sides of 6 and 12 up) to be a multiplies of 12.
                         |  1    2    3    4    5    6    7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |  7 |    |    |    | 19 | 17 | 12 | 11 | 19 |    |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
        |                |                 |        11+7
        |                                  |         ^
        └── ─ ─ ─ ─ ─ ─ ─ ─ ── ─ ─ ─ ─  └── ─ ─ ─┘

                         |  1    2    3    4    5    6   7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |    |    |    |    | 19 | 17 | 12 | 11 | 19 | 18 |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |                           √
Posisi-7
7 is the second prime position. It mirrors the path of 5 touching each postions exactly opposite criss-crossing 5's path clockwise (Red: illustrated by clockwise of bouncing star polygon).
                         |  1    2    3    4    5    6    7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |    |    |    |    | 19 | 17 | 12 | 11 | 19 | 18 |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
   |                     |                              18+5 ?
   |                                                      ^
   └─ ─ ─ ─ ─ ─ ─ ─ ── ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─  ─┘

Exception to the prime position occur when prime interact with each other. The first exception (25) to the prime position is when 5 multiplies by itself or is squared. The second exception (35) is 5 interracting with 7.
114 + 18 + 5² = 114 + 43 = 157
                         |  1    2    3    4    5    6    7
+----+----+----+----+----+----+----+----+----+----+----+----+
|  5 |    |    |    |    | 19 | 17 | 11 | 12 | 19 | 18  |    |
+----+----+----+----+----+----+----+----+----+----+----+----+
   |                     |                              18+5²
   |                                                      ^
   └─ ─ ─ ─ ─ ─ ─ ─ ── ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─  ─┘

                         |  1    2    3    4    5    6   7
+----+----+----+----+----+----+----+----+----+----+----+----+
|    |    |    |    |    | 19 | 17 | 12 | 11 | 19 | 18 | 43 |
+----+----+----+----+----+----+----+----+----+----+----+----+
                         |                                √
Twin Primes: 
(5,7), (11,13), (17,19)

+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |  6  |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|                 1771                    |
+-----+-----+-----+-----+-----+-----+-----+


+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |  6  |   7 |
+-----+-----+-----+-----+-----+-----+-----+
         17       |        71 - 17        


+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |  6  |   7 |
+-----+-----+-----+-----+-----+-----+-----+
         17       |  11 |   71 - 17 - 11 = 43


+-----+-----+-----+-----+-----+-----+-----+
|   1 |   2 |   3 |   4 |   5 |   6 |   7 |
+-----+-----+-----+-----+-----+-----+-----+
|  19 |  17 |  12 |  11 |  19 |  18 |  43 | 139
+-----+-----+-----+-----+-----+-----+-----+  |
|               1             |   3 |   9 |  └── 1»3»9
+-----+-----+-----+-----+-----+-----+-----+

Permutations:
19, 17+12=29, 11+19=30, 18+43=61 » d(1,2,3,7)
139 = d(1,2+3,7) = d(1,5,7) = d(67) = d(13) = d(4)
119 + 217 + 312 + 411 + 519 + 618 + 743 = 2939 = 29 & 39

Rekombinasi melibatkan pemecahan dan penyatuan kembali dua (2) kromosom (M dan F) untuk menghasilkan dua (2) kromosom yang disusun ulang (C1 dan C2).

Disini formasi bilateral ada di angka 30 ke 60 yang bergabung dengan angka 9 menjadi 69 objek karenanya proses kita alihkan ke angka dua (2) pada bagan berikutnya.

Metoda

Saring

https://jekyllrb.com/docs/templates/
sort: 'weight'

&#123;% assign assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;
&#123;% for asset in assets %&#125; 
&#123; 
    &quot;title&quot;&#58; &#123;&#123; asset.title &#125;&#125;
&#125; 
&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
&#123;% endfor %&#125;

Hasil Saring

&#123;  
    &quot;title&quot;&#58; file a1     &amp;lt&#59;&#45; weight&#58; 1 
&#125;, 
&#123;  
    &quot;title&quot;&#58; file b1     &amp;lt&#59;&#45; weight&#58; 1
&#125;, 
&#123;  
    &quot;title&quot;&#58; file c1     &amp;lt&#59;&#45; weight&#58; 1
&#125;, 
&#123;  
    &quot;title&quot;&#58; file a2     &amp;lt&#59;&#45; weight&#58; 2
&#125;, 
&#123;  
    &quot;title&quot;&#58; file b2     &amp;lt&#59;&#45; weight&#58; 2
&#125;, 
&#123;  
    &quot;title&quot;&#58; file c2     &amp;lt&#59;&#45; weight&#58; 2
&#125;

Target Saring

&#123;   
   &quot;title&quot;&#58; directory a,   
   &quot;files&quot;&#58; &#91;               
      &#123;   
         &quot;title&quot;&#58; file a1     &amp;lt&#59;&#45;&#45; weight&#58; 1 
      &#125;,                       
      &#123;   
         &quot;title&quot;&#58; file a2     &amp;lt&#59;&#45;&#45; weight&#58; 2
      &#125;                       
   &#93;                       
&#125;, 
&#123;   
   &quot;title&quot;&#58; directory b,
   &quot;files&quot;&#58; &#91;             
      &#123;   
         &quot;title&quot;&#58; file b1     &amp;lt&#59;&#45;&#45; weight&#58; 1
      &#125;,                        
      &#123;   
         &quot;title&quot;&#58; file b2     &amp;lt&#59;&#45;&#45; weight&#58; 2   
      &#125;,                        
      &#123;   
         &quot;title&quot;&#58; directory c,
         &quot;files&quot;&#58; &#91;            
            &#123;   
               &quot;title&quot;&#58; file c1      &amp;lt&#59;&#45;&#45; weight&#58; 1 
            &#125;,                        
            &#123;   
               &quot;title&quot;&#58; file c2      &amp;lt&#59;&#45;&#45; weight&#58; 2  
            &#125;                                         
         &#93;           
      &#125;                                         
   &#93;                                                       
&#125;   

Pemetaan

&amp;&#35;123&#59;&amp;&#35;123&#59; asset.title &amp;&#35;125&#59;&amp;&#35;125&#59; => Capital

Titik Awal

&#123;% assign assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;
&#123;% for asset in assets %&#125; 
&#123; 
    &quot;title&quot;&#58; &#123;&#123; asset.title &#125;&#125;
&#125; 
&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
&#123;% endfor %&#125;

Konversi Awal

_assets/head/head.md
_assets/skema/sequence.md
_assets/skema/sequence/object.md
_assets/head/beranda.md
_assets/skema/flowchart.md
_assets/skema/sequence/method.md
_assets/head/abstrak.md
_assets/skema/railroad.md
_assets/head/skema.md
_assets/head/eksekusi.md
_assets/head/portfolio.md
_assets/head/network.md
_assets/head/publikasi.md
_assets/head/diskusi.md
_assets/head/bottom.md
_assets/head/head.md
_assets/head/beranda.md
_assets/head/abstrak.md
_assets/head/skema.md
_assets/skema/sequence.md
_assets/skema/sequence/object.md
_assets/skema/sequence/method.md
_assets/skema/flowchart.md
_assets/skema/railroad.md
_assets/head/eksekusi.md
_assets/head/portfolio.md
_assets/head/network.md
_assets/head/publikasi.md
_assets/head/diskusi.md
_assets/head/bottom.md

Penyederhanaan

_assets/head/
_assets/head/
_assets/head/
_assets/head/
_assets/skema/sequence/
_assets/skema/sequence/
_assets/skema/
_assets/skema/
_assets/skema/
_assets/head/
_assets/head/
_assets/head/
_assets/head/
_assets/head/
_assets/head/
_assets/head/
_assets/skema/sequence/
_assets/skema/
_assets/skema/sequence/
_assets/head/
_assets/skema/
_assets/skema/sequence/
_assets/skema/sequence/object.md
_assets/skema/sequence/method.md

Konversi Ahir

_assets/skema/sequence/md
_assets/skema/sequence/object.md
_assets/skema/sequence/method.md
_assets/skema/flowchart.md
_assets/skema/railroad.md
_assets/head/skema/md
_assets/skema/sequence/md
_assets/skema/sequence/object.md
_assets/skema/sequence/method.md
_assets/skema/flowchart.md
_assets/skema/railroad.md
_assets/head/md
_assets/head/beranda.md
_assets/head/abstrak.md
_assets/head/skema/md
_assets/skema/sequence/md
_assets/skema/sequence/object.md
_assets/skema/sequence/method.md
_assets/skema/flowchart.md
_assets/skema/railroad.md
_assets/head/eksekusi.md
_assets/head/portfolio.md
_assets/head/network.md
_assets/head/publikasi.md
_assets/head/diskusi.md
_assets/head/bottom.md
_assets/head/md
   _assets/head/beranda.md
   _assets/head/abstrak.md
   _assets/head/skema/md
      _assets/skema/sequence/md
         _assets/skema/sequence/object.md
         _assets/skema/sequence/method.md
      _assets/skema/flowchart.md
      _assets/skema/railroad.md
   _assets/head/eksekusi.md
   _assets/head/portfolio.md
   _assets/head/network.md
   _assets/head/publikasi.md
   _assets/head/diskusi.md
   _assets/head/bottom.md

Struktur Ahir

&#123;   
   &quot;title&quot;&#58; &quot;Beranda&quot;,
   &#45;&#45;&amp;gt&#59; atribut..   
&#125;, 
&#123;   
   &quot;title&quot;&#58; &quot;Abstrak&quot;,
   &#45;&#45;&amp;gt&#59; atribut..   
&#125;, 
&#123;   
   &quot;title&quot;&#58; &quot;Skema&quot;,
   &#45;&#45;&amp;gt&#59; atribut..,     
   &quot;files&quot;&#58; &#91;             
      &#123;   
         &quot;title&quot;&#58; &quot;Sequence&quot;,
          &#45;&#45;&amp;gt&#59; atribut..,     
         &quot;files&quot;&#58; &#91;            
            &#123;   
               &quot;title&quot;&#58; &quot;Object&quot;,
               &#45;&#45;&amp;gt&#59; atribut..     
            &#125;,                        
            &#123;   
               &quot;title&quot;&#58; &quot;Method&quot;,
                &#45;&#45;&amp;gt&#59; atribut..      
            &#125;                                         
         &#93;           
      &#125;,
      &#123;   
         &quot;title&quot;&#58; &quot;Flowchart&quot;,
         &#45;&#45;&amp;gt&#59; atribut..     
      &#125;,                        
      &#123;   
         &quot;title&quot;&#58; &quot;Railroad&quot;,
         &#45;&#45;&amp;gt&#59; atribut..     
      &#125;,                        
   &#93;                                                       
&#125;, 
&#123;   
   &quot;title&quot;&#58; &quot;Eksekusi&quot;,
   &#45;&#45;&amp;gt&#59; atribut..        
&#125;, 
&#123;   
   &quot;title&quot;&#58; &quot;Portfolio&quot;,
   &#45;&#45;&amp;gt&#59; atribut..          
&#125;, 
&#123;   
   &quot;title&quot;&#58; &quot;Publikasi&quot;,
   &#45;&#45;&amp;gt&#59; atribut..         
&#125;, 
&#123;   
   &quot;title&quot;&#58; &quot;Diskusi&quot;,
   &#45;&#45;&amp;gt&#59; atribut..        
&#125;, 
&#123;   
   &quot;title&quot;&#58; &quot;Bottom&quot;,
   &#45;&#45;&amp;gt&#59; atribut..       
&#125;

Pemrograman

https://github.com/chetabahana/chetabahana.github.io/blob/master/feed.json https://github.com/chetabahana/chetabahana.github.io/blob/master/_includes/feed/Json

Size

size: https://shopify.github.io/liquid/filters/size/

    &#91;
&#123;% assign my_assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;
&#123;% assign my_size &#61; 0 %&#125;
&#123;% for asset in my_assets %&#125;
   &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
   &#123;% assign size &#61; my_split &#124; size %&#125;
   &#123;% if my_size &amp;lt&#59; size  %&#125;
      &#123;% assign my_size &#61; size %&#125;
   &#123;% endif %&#125;
        &#123; 
            &quot;size&quot;&#58; &#123;&#123; my_size &#125;&#125;
        &#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
&#123;% endfor %&#125;
    &#93;

Catatan: Bila dijumpai Error nil:NilClass sbb:

Error: could not read file /srv/jekyll/_assets/docs/Header: undefined method `split' for nil:NilClass
Solusinya adalah safe navigation operator (&.):
nil&.split(",")
    &#91;
        &#123;
            &quot;size&quot;&#58; 3
        &#125;,
        &#123;
            &quot;size&quot;&#58; 3
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 4
        &#125;
    &#93;

Reversed

optional

    &#91;
&#123;% assign my_assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;
&#123;% assign my_size &#61; 2 %&#125;
&#123;% assign my_path &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for asset in my_assets %&#125;
   &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
   &#123;% assign size &#61; my_split &#124; size %&#125;
   &#123;% if size &amp;gt&#59; my_size %&#125;
      &#123;% assign my_path &#61; my_path &#124; push&#58;size %&#125;
      &#123;% assign my_size &#61; size %&#125;
   &#123;% endif %&#125;
&#123;% endfor %&#125;
&#123;% for my_size in my_path reversed %&#125;
        &#123;
            &quot;size&quot;&#58; &#123;&#123; my_size &#125;&#125;
        &#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
&#123;% endfor %&#125;
    &#93;
    &#91;
        &#123;
            &quot;size&quot;&#58; 4
        &#125;,
        &#123;
            &quot;size&quot;&#58; 3
        &#125;
    &#93;

Path

optional

    &#91;
&#123;% assign my_assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;
&#123;% assign my_size &#61; 2 %&#125;
&#123;% assign my_path &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for asset in my_assets %&#125;
   &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
   &#123;% assign size &#61; my_split &#124; size %&#125;
   &#123;% if size &amp;gt&#59; my_size %&#125;
      &#123;% assign my_path &#61; my_path &#124; push&#58;size %&#125;
      &#123;% assign my_size &#61; size %&#125;
   &#123;% endif %&#125;
&#123;% endfor %&#125;
&#123;% for my_size in my_path reversed %&#125;
   &#123;% for asset in my_assets %&#125;
      &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
      &#123;% assign size &#61; my_split &#124; size %&#125;
      &#123;% if size &#61;&#61; my_size %&#125;
         &#123;
            &quot;path&quot;&#58; &#123;&#123; asset.path &#124; jsonify &#125;&#125;
         &#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
      &#123;% endif %&#125;
   &#123;% endfor %&#125;
&#123;% endfor %&#125;
    &#93;
    &#91;
        &#123;
            &quot;path&quot;&#58; &quot;_assets/skema/sequence/object.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/skema/sequence/method.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/head.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/skema/sequence.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/beranda.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/skema/flowchart.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/abstrak.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/skema/railroad.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/skema.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/eksekusi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/portfolio.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/network.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/publikasi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/diskusi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/bottom.md&quot;
        &#125;
    &#93; 

Capture

    &#91;
&#123;% assign my_assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;
&#123;% assign my_tab &#61; &quot;    &quot; %&#125;
&#123;% assign my_size &#61; 2 %&#125;
&#123;% assign my_path &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for asset in my_assets %&#125;
   &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
   &#123;% assign size &#61; my_split &#124; size %&#125;
   &#123;% if size &amp;gt&#59; my_size %&#125;
      &#123;% assign my_path &#61; my_path &#124; push&#58;size %&#125;
      &#123;% assign my_size &#61; size %&#125;
   &#123;% endif %&#125;
&#123;% endfor %&#125;
&#123;% assign my_paths &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for my_size in my_path reversed %&#125;
   &#123;% for asset in my_assets %&#125;
      &#123;% unless asset.path contains &quot;/head/&quot; %&#125;   
         &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
         &#123;% assign size &#61; my_split &#124; size %&#125;
         &#123;% if size &#61;&#61; my_size %&#125;
            &#123;% assign my_paths &#61; my_paths &#124; push&#58;asset %&#125;
         &#123;% endif %&#125;
      &#123;% endunless %&#125;
   &#123;% endfor %&#125;
&#123;% endfor %&#125;
&#123;% assign my_captures &#61; &quot;&quot; &#124; split&#58; &quot;&#58;&#58;&quot; %&#125;
&#123;% for my_path in my_paths %&#125;
   &#123;% assign my_size &#61; my_path.path &#124; split&#58; &quot;/&quot; &#124; size %&#125;
   &#123;% capture my_capture %&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;path&quot;&#58; &#123;&#123; my_path.path &#124; jsonify &#125;&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
   &#123;% endcapture %&#125;
   &#123;% assign my_captures &#61;  my_captures &#124; push&#58;my_capture %&#125;
&#123;% endfor %&#125;
&#123;% for my_capture in my_captures %&#125;
   &#123;&#123; my_capture &#125;&#125;
&#123;% endfor %&#125;
&#123;% assign my_asset &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for asset in my_assets %&#125;
   &#123;% if asset.path contains &quot;/head/&quot; %&#125; 
      &#123;% assign my_asset &#61; my_asset &#124; push&#58;asset %&#125;
   &#123;% endif %&#125;
&#123;% endfor %&#125;
&#123;% for asset in my_asset %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;path&quot;&#58; &#123;&#123; asset.path &#124; jsonify &#125;&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
&#123;% endfor %&#125;
&#123;&#123; my_tab &#125;&#125;&#93;
    &#91;
                &#123;
                    &quot;path&quot;&#58; &quot;_assets/skema/sequence/object.md&quot;
                &#125;,
                &#123;
                    &quot;path&quot;&#58; &quot;_assets/skema/sequence/method.md&quot;
                &#125;,
            &#123;
                &quot;path&quot;&#58; &quot;_assets/skema/sequence.md&quot;
            &#125;,
            &#123;
                &quot;path&quot;&#58; &quot;_assets/skema/flowchart.md&quot;
            &#125;,
            &#123;
                &quot;path&quot;&#58; &quot;_assets/skema/railroad.md&quot;
            &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/head.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/beranda.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/abstrak.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/skema.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/eksekusi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/portfolio.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/network.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/publikasi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/diskusi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/bottom.md&quot;
        &#125;
    &#93;

Index

    &#91;
&#123;% assign my_assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;
&#123;% assign my_tab &#61; &quot;    &quot; %&#125;
&#123;% assign my_size &#61; 2 %&#125;
&#123;% assign my_path &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for asset in my_assets %&#125;
   &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
   &#123;% assign size &#61; my_split &#124; size %&#125;
   &#123;% if size &amp;gt&#59; my_size %&#125;
      &#123;% assign my_path &#61; my_path &#124; push&#58;size %&#125;
      &#123;% assign my_size &#61; size %&#125;
   &#123;% endif %&#125;
&#123;% endfor %&#125;
&#123;% assign my_paths &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for my_size in my_path reversed %&#125;
   &#123;% for asset in my_assets %&#125;
      &#123;% unless asset.path contains &quot;/head/&quot; %&#125;
         &#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;
         &#123;% assign size &#61; my_split &#124; size %&#125;
         &#123;% if size &#61;&#61; my_size %&#125;
             &#123;% assign my_paths &#61; my_paths &#124; push&#58;asset %&#125;
         &#123;% endif %&#125;
      &#123;% endunless %&#125;
   &#123;% endfor %&#125;
&#123;% endfor %&#125;
&#123;% assign my_captures &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for my_path in my_paths %&#125;
   &#123;% assign my_split &#61; my_path.path &#124; split&#58; &quot;/&quot; %&#125;
   &#123;% assign my_part &#61; my_split &#124; size &#124; minus&#58;2 %&#125;
   &#123;% assign my_size &#61; my_split &#124; size &#124; &#124; times&#58; 2 &#124; minus&#58;2 %&#125;
   &#123;% assign my_dir &#61; my_split&#91;my_part&#93; &#124; prepend&#58; &quot;/&quot; &#124; append&#58; &quot;/&quot; %&#125;
   &#123;% assign my_title &#61; my_path.title &#124; downcase &#124; prepend&#58; my_dir &#124; append&#58; &quot;/&quot; %&#125;
   &#123;% assign my_index &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
   &#123;% for my_push in my_paths %&#125;
      &#123;% if my_push.path contains my_title %&#125;
         &#123;% assign my_index &#61; my_index &#124; push&#58;forloop.index0 %&#125;
      &#123;% endif %&#125;
   &#123;% endfor %&#125;
   &#123;% capture my_capture %&#125;
        &#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;
        &#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;path&quot;&#58; &#123;&#123; my_path.path &#124; jsonify &#125;&#125;&#123;% assign my_index_size &#61; my_index &#124; size %&#125;&#123;% if my_index_size &amp;gt&#59; 0 %&#125;,
        &#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;item&quot;&#58; &#91;&#123;% for index in my_index %&#125;&#123;&#123; my_captures&#91;index&#93; &#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;&#123;% endfor %&#125;
        &#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&#93;&#123;% endif %&#125;
        &#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#125;
   &#123;% endcapture %&#125;
   &#123;% assign my_captures &#61;  my_captures &#124; push&#58;my_capture %&#125;
&#123;% endfor %&#125;
&#123;% assign my_asset &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
&#123;% for asset in my_assets %&#125;
   &#123;% if asset.path contains &quot;/head/&quot; %&#125;
      &#123;% assign my_asset &#61; my_asset &#124; push&#58;asset %&#125;
   &#123;% endif %&#125;
&#123;% endfor %&#125;
&#123;% for asset in my_asset %&#125;
   &#123;% assign my_title &#61; asset.title &#124; downcase &#124; prepend&#58; &quot;_assets/&quot; &#124; append&#58; &quot;/&quot; %&#125;
   &#123;% assign my_index &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;
   &#123;% for my_path in my_paths %&#125;
      &#123;% assign my_size &#61; my_path.path &#124; split&#58; &quot;/&quot; &#124; size %&#125;
      &#123;% if my_size &#61;&#61; 3 and my_path.path contains my_title %&#125;
          &#123;% assign my_index &#61; my_index &#124; push&#58;forloop.index0 %&#125;
      &#123;% endif %&#125;
   &#123;% endfor %&#125;
   &#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;
   &#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;path&quot;&#58; &#123;&#123; asset.path &#124; jsonify &#125;&#125;&#123;% assign my_index_size &#61; my_index &#124; size %&#125;&#123;% if my_index_size &amp;gt&#59; 0 %&#125;,
   &#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;item&quot;&#58; &#91;&#123;% for index in my_index %&#125;&#123;&#123; my_captures&#91;index&#93; &#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;&#123;% endfor %&#125;
   &#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#93;&#123;% endif %&#125;
   &#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;
&#123;% endfor %&#125;
&#123;&#123; my_tab &#125;&#125;&#93;
    &#91;
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/head.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/beranda.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/abstrak.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/skema.md&quot;,
            &quot;item&quot;&#58; &#91;
                &#123;
                    &quot;path&quot;&#58; &quot;_assets/skema/sequence.md&quot;,
                    &quot;item&quot;&#58; &#91;
                        &#123;
                            &quot;path&quot;&#58; &quot;_assets/skema/sequence/object.md&quot;
                        &#125;,
                        &#123;
                            &quot;path&quot;&#58; &quot;_assets/skema/sequence/method.md&quot;
                        &#125;
                    &#93;
                &#125;,
                &#123;
                    &quot;path&quot;&#58; &quot;_assets/skema/flowchart.md&quot;
                &#125;,
                &#123;
                    &quot;path&quot;&#58; &quot;_assets/skema/railroad.md&quot;
                &#125;
            &#93;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/eksekusi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/portfolio.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/network.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/publikasi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/diskusi.md&quot;
        &#125;,
        &#123;
            &quot;path&quot;&#58; &quot;_assets/head/bottom.md&quot;
        &#125;
    &#93;

Atribut

Dengan beberapa penyempurnaan didapat code dengan hasil yang cukup stabil sbb:
&#123;
    &quot;version&quot;&#58; &quot;https&#58;//jsonfeed.org/version/1&quot;,
    &quot;title&quot;&#58; &quot;&#123;&#123; site.title &#124; xml_escape &#125;&#125;&quot;,
    &quot;description&quot;&#58; &#123;&#123; site.description &#124; jsonify &#125;&#125;,
    &quot;home_page_url&quot;&#58; &quot;&#123;&#123; &quot;/&quot; &#124; absolute_url &#125;&#125;&quot;,
    &quot;feed_url&quot;&#58; &quot;&#123;&#123; &quot;/feed.json&quot; &#124; absolute_url &#125;&#125;&quot;,
    &quot;user_comment&quot;&#58; &quot;This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format.&quot;,
    &quot;items&quot;&#58; &#91;&#123;% assign assets &#61; site.assets &#124; sort&#58;0 %&#125;&#123;% assign my_tab &#61; &quot;    &quot; %&#125;&#123;% assign my_size &#61; 2 %&#125;&#123;% assign my_path &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;&#123;% assign atributs &#61; &quot;weight, title, next, content, output, previous, relative_path, id, collection, excerpt, categories, ext, tags, path, url, draft, slug&quot; &#124; split&#58;&quot;, &quot; %&#125;&#123;% for asset in assets %&#125;&#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;&#123;% assign size &#61; my_split &#124; size %&#125;&#123;% if size &amp;gt&#59; my_size %&#125;&#123;% assign my_path &#61; my_path &#124; push&#58;size %&#125;&#123;% assign my_size &#61; size %&#125;&#123;% endif %&#125;&#123;% endfor %&#125;&#123;% assign assets &#61; site.assets &#124; sort&#58; &#39;weight&#39; %&#125;&#123;% assign my_paths &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;&#123;% for my_size in my_path reversed %&#125;&#123;% for asset in assets %&#125;&#123;% unless asset.path contains &quot;/head/&quot; %&#125;&#123;% assign my_split &#61; asset.path &#124; split&#58; &quot;/&quot; %&#125;&#123;% assign size &#61; my_split &#124; size %&#125;&#123;% if size &#61;&#61; my_size %&#125;&#123;% assign my_paths &#61; my_paths &#124; push&#58;asset %&#125;&#123;% endif %&#125;&#123;% endunless %&#125;&#123;% endfor %&#125;&#123;% endfor %&#125;&#123;% assign my_captures &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;&#123;% for my_asset in my_paths %&#125;&#123;% assign my_split &#61; my_asset.path &#124; split&#58; &quot;/&quot; %&#125;&#123;% assign my_path_size &#61; my_split &#124; size %&#125;&#123;% assign my_part &#61; my_split &#124; size &#124; minus&#58;2 %&#125;&#123;% assign my_size &#61; my_split &#124; size &#124; times&#58;2 &#124; minus&#58;2 %&#125;&#123;% assign my_dir &#61; my_split&#91;my_part&#93; &#124; prepend&#58; &quot;/&quot; &#124; append&#58; &quot;/&quot; %&#125;&#123;% assign my_title &#61; my_asset.title &#124; downcase &#124; prepend&#58; my_dir &#124; append&#58; &quot;/&quot; %&#125;&#123;% assign my_index &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;&#123;% for my_push in my_paths %&#125;&#123;% assign my_num &#61; my_push.path &#124; split&#58; &quot;/&quot; &#124; size &#124; minus&#58;my_path_size %&#125;&#123;% if my_num &#61;&#61; 1 and my_push.path contains my_title %&#125;&#123;% assign my_index &#61; my_index &#124; push&#58;forloop.index0 %&#125;&#123;% endif %&#125;&#123;% endfor %&#125;&#123;% capture my_capture %&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;weight&quot;&#58; &#123;&#123; my_asset.weight &#124; jsonify &#125;&#125;,
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;title&quot;&#58; &#123;&#123; my_asset.title &#124; jsonify &#125;&#125;,&#123;% for item in my_asset %&#125;&#123;% unless atributs contains item %&#125; 
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; item &#124; jsonify &#125;&#125;&#58; &#123;&#123; my_asset&#91;item&#93; &#124; jsonify &#125;&#125;,&#123;% endunless %&#125;&#123;% endfor %&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;path&quot;&#58; &#123;&#123; my_asset.path &#124; jsonify &#125;&#125;,
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;input&quot;&#58; &#123;% assign input &#61; &quot;&quot; %&#125;&#123;% for item_hash in site.data.skema %&#125;&#123;% assign item &#61; item_hash&#91;1&#93; %&#125;&#123;% unless item.title &#61;&#61; null %&#125;&#123;% if item.title &#61;&#61; my_asset.slug %&#125;&#123;% assign input &#61; item.content %&#125;&#123;% endif %&#125;&#123;% endunless %&#125;&#123;% endfor %&#125;&#123;&#123; input &#124; jsonify &#125;&#125;,
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;content&quot;&#58; &#123;&#123; my_asset.content &#124; jsonify &#125;&#125;,
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;output&quot;&#58; &#123;&#123; my_asset.output &#124; jsonify &#125;&#125;,&#123;% assign my_index_size &#61; my_index &#124; size %&#125;&#123;% if my_index_size &amp;gt&#59; 0 %&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;items&quot;&#58; &#91;&#123;% for index in my_index %&#125;&#123;&#123; my_captures&#91;index&#93; &#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;&#123;% endfor %&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&#93;&#123;% else %&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#123;&#123; my_tab &#125;&#125;&quot;items&quot;&#58; &#91;&#93;&#123;% endif %&#125;
&#123;% for i in (1..my_size) %&#125;&#123;&#123; my_tab &#125;&#125;&#123;% endfor %&#125;&#125;&#123;% endcapture %&#125;&#123;% assign my_captures &#61;  my_captures &#124; push&#58;my_capture %&#125;&#123;% endfor %&#125;&#123;% assign my_assets &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;&#123;% for asset in assets %&#125;&#123;% if asset.path contains &quot;/head/&quot; %&#125;&#123;% assign my_assets &#61; my_assets &#124; push&#58;asset %&#125;&#123;% endif %&#125;&#123;% endfor %&#125;&#123;% for my_asset in my_assets %&#125;&#123;% assign my_title &#61; my_asset.title &#124; downcase &#124; prepend&#58; &quot;_assets/&quot; &#124; append&#58; &quot;/&quot; %&#125;&#123;% assign my_index &#61; &quot;&quot; &#124; split&#58; &quot;,&quot; %&#125;&#123;% for my_path in my_paths %&#125;&#123;% assign my_size &#61; my_path.path &#124; split&#58; &quot;/&quot; &#124; size %&#125;&#123;% if my_size &#61;&#61; 3 and my_path.path contains my_title %&#125;&#123;% assign my_index &#61; my_index &#124; push&#58;forloop.index0 %&#125;&#123;% endif %&#125;&#123;% endfor %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;weight&quot;&#58; &#123;&#123; my_asset.weight &#124; jsonify &#125;&#125;,
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;title&quot;&#58; &#123;&#123; my_asset.title &#124; jsonify &#125;&#125;,&#123;% for item in my_asset %&#125;&#123;% unless atributs contains item %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; item &#124; jsonify &#125;&#125;&#58; &#123;&#123; my_asset&#91;item&#93; &#124; jsonify &#125;&#125;,&#123;% endunless %&#125;&#123;% endfor %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;path&quot;&#58; &#123;&#123; my_asset.path &#124; jsonify &#125;&#125;,
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;input&quot;&#58; &#123;% assign input &#61; &quot;&quot; %&#125;&#123;% for item_hash in site.data %&#125;&#123;% assign item &#61; item_hash&#91;1&#93; %&#125;&#123;% if item.title &#61;&#61; my_asset.slug %&#125;&#123;% assign input &#61; item.content %&#125;&#123;&#123; input &#124; jsonify &#125;&#125;&#123;% endif %&#125;&#123;% endfor %&#125;&#123;% if input &#61;&#61; &quot;&quot; %&#125;&#123;&#123; input &#124; jsonify &#125;&#125;&#123;% endif %&#125;,
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;content&quot;&#58; &#123;&#123; my_asset.content &#124; jsonify &#125;&#125;,
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;output&quot;&#58; &#123;&#123; my_asset.output &#124; jsonify &#125;&#125;,&#123;% assign my_index_size &#61; my_index &#124; size %&#125;&#123;% if my_index_size &amp;gt&#59; 0 %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;items&quot;&#58; &#91;&#123;% for index in my_index %&#125;&#123;&#123; my_captures&#91;index&#93; &#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;&#123;% endfor %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#93;&#123;% else %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&quot;items&quot;&#58; &#91;&#93;&#123;% endif %&#125;
&#123;&#123; my_tab &#125;&#125;&#123;&#123; my_tab &#125;&#125;&#125;&#123;% unless forloop.last %&#125;,&#123;% endunless %&#125;&#123;% endfor %&#125;
&#123;&#123; my_tab &#125;&#125;&#93;
&#125;

Penyederhanaan Hasil: https://chetabahana.github.io/feed.json

    &#91;
        &#123; 
            &quot;weight&quot;&#58; 1,
            &quot;title&quot;&#58; &quot;Head&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 2,
            &quot;title&quot;&#58; &quot;Beranda&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 3,
            &quot;title&quot;&#58; &quot;Abstrak&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 4,
            &quot;title&quot;&#58; &quot;Skema&quot;,
            &quot;items&quot;&#58; &#91;
                &#123; 
                &quot;weight&quot;&#58; 1,
                &quot;title&quot;&#58; &quot;Sequence&quot;,
                    &quot;item&quot;&#58; &#91;
                        &#123; 
                        &quot;weight&quot;&#58; 1,
                        &quot;title&quot;&#58; &quot;Object&quot;,
                            &quot;items&quot;&#58; &#91;&#93;
                        &#125;,
                        &#123; 
                        &quot;weight&quot;&#58; 2,
                        &quot;title&quot;&#58; &quot;Method&quot;,
                            &quot;items&quot;&#58; &#91;&#93;
                        &#125;
                    &#93;
                &#125;,
                &#123; 
                &quot;weight&quot;&#58; 2,
                &quot;title&quot;&#58; &quot;Flowchart&quot;,
                    &quot;items&quot;&#58; &#91;&#93;
                &#125;,
                &#123; 
                &quot;weight&quot;&#58; 3,
                &quot;title&quot;&#58; &quot;Railroad&quot;,
                    &quot;items&quot;&#58; &#91;&#93;
                &#125;
            &#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 5,
            &quot;title&quot;&#58; &quot;Eksekusi&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 6,
            &quot;title&quot;&#58; &quot;Portfolio&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 7,
            &quot;title&quot;&#58; &quot;Network&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 8,
            &quot;title&quot;&#58; &quot;Publikasi&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 9,
            &quot;title&quot;&#58; &quot;Diskusi&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;,
        &#123; 
            &quot;weight&quot;&#58; 10,
            &quot;title&quot;&#58; &quot;Bottom&quot;,
            &quot;items&quot;&#58; &#91;&#93;
        &#125;
    &#93;

Penerapan Hasil

Referensi

Clone this wiki locally