diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-29 01:14:50 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-29 01:14:50 +0100 |
| commit | 4bc4c1151e189710292bf4b0042817d5c25ac0f4 (patch) | |
| tree | 4ff15a3717b4a469439e17634547f4097bc38b44 | |
| parent | f8df80511c5829c19dd735c6287b2a819f9dd72b (diff) | |
| download | mitjafelicijan.com-4bc4c1151e189710292bf4b0042817d5c25ac0f4.tar.gz | |
Added project list to index
| -rw-r--r-- | static/style.css | 6 | ||||
| -rw-r--r-- | templates/index.twig | 6 | ||||
| -rw-r--r-- | templates/partials/projects.twig | 8 |
3 files changed, 18 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css index ef99639..5597f30 100644 --- a/static/style.css +++ b/static/style.css | |||
| @@ -54,7 +54,11 @@ ul.article-list li div { | |||
| 54 | 54 | ||
| 55 | ul.article-list time { | 55 | ul.article-list time { |
| 56 | display: inline-block; | 56 | display: inline-block; |
| 57 | min-width: 160px; | 57 | min-width: 150px; |
| 58 | } | ||
| 59 | |||
| 60 | ul.project-list li { | ||
| 61 | margin-bottom: 5px; | ||
| 58 | } | 62 | } |
| 59 | 63 | ||
| 60 | article .info { | 64 | article .info { |
diff --git a/templates/index.twig b/templates/index.twig index 4a0eb00..5056040 100644 --- a/templates/index.twig +++ b/templates/index.twig | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | 35 | ||
| 36 | {% include "partials/navigation.twig" %} | 36 | {% include "partials/navigation.twig" %} |
| 37 | 37 | ||
| 38 | <h2>Notes</h2> | 38 | <h2>Posts</h2> |
| 39 | 39 | ||
| 40 | <ul class="article-list"> | 40 | <ul class="article-list"> |
| 41 | {% for item in list %} | 41 | {% for item in list %} |
| @@ -46,6 +46,10 @@ | |||
| 46 | {% endfor %} | 46 | {% endfor %} |
| 47 | </ul> | 47 | </ul> |
| 48 | 48 | ||
| 49 | <h2>Projects</h2> | ||
| 50 | |||
| 51 | {% include "partials/projects.twig" %} | ||
| 52 | |||
| 49 | </main> | 53 | </main> |
| 50 | 54 | ||
| 51 | <!-- google analytics --> | 55 | <!-- google analytics --> |
diff --git a/templates/partials/projects.twig b/templates/partials/projects.twig new file mode 100644 index 0000000..1601dce --- /dev/null +++ b/templates/partials/projects.twig | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | <ul class="project-list"> | ||
| 2 | <li><a href="https://github.com/mitjafelicijan/redis-marshal" target="_blank" rel="noopener nofollow">redis-marshal - Lightweight Redis data exploration tool</a></li> | ||
| 3 | <li><a href="https://github.com/mitjafelicijan/dna-encoding" target="_blank" rel="noopener nofollow">dna-encoding - Tools for encoding files to DNA sequence</a></li> | ||
| 4 | <li><a href="https://github.com/mitjafelicijan/unfold" target="_blank" rel="noopener nofollow">unfold - Elastic Beanstalk like deployments for DigitalOcean</a></li> | ||
| 5 | <li><a href="https://github.com/mitjafelicijan/vertex" target="_blank" rel="noopener nofollow">vertex - Create mock API's and enrich them with some basic logic and simplify prototyping</a></li> | ||
| 6 | <li><a href="https://github.com/mitjafelicijan/spartan" target="_blank" rel="noopener nofollow">spartan - Spartan minimal UI kit for your applications</a></li> | ||
| 7 | <li><a href="https://github.com/mitjafelicijan/scarecrow" target="_blank" rel="noopener nofollow">scarecrow - Minimal configuration reverse proxy</a></li> | ||
| 8 | </ul> | ||
