diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-12-29 00:44:19 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-12-29 00:44:19 +0100 |
| commit | d4728e6972882e09ead61214367a35c5c6feafef (patch) | |
| tree | 59106b2fb5e18519e8f415ec0716528340734558 | |
| parent | da6a25065b6e300527a392ff66c74bbeb90ba192 (diff) | |
| download | mitjafelicijan.com-d4728e6972882e09ead61214367a35c5c6feafef.tar.gz | |
Added newsletter
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | content/2020-12-25-weekly-newsletter.md (renamed from content/2020-12-25-weekly-links.md) | 7 | ||||
| -rw-r--r-- | newsletter/.editorconfig (renamed from emailing/.editorconfig) | 0 | ||||
| -rw-r--r-- | newsletter/.gitignore (renamed from emailing/.gitignore) | 0 | ||||
| -rw-r--r-- | newsletter/campaigns/2020-52.json (renamed from emailing/campaigns/2020-52.json) | 0 | ||||
| -rw-r--r-- | newsletter/campaigns/2020-53.json (renamed from emailing/campaigns/2020-53.json) | 0 | ||||
| -rw-r--r-- | newsletter/campaigns/template.json (renamed from emailing/campaigns/template.json) | 0 | ||||
| -rw-r--r-- | newsletter/generated/2020-52.html (renamed from emailing/generated/2020-52.html) | 1 | ||||
| -rw-r--r-- | newsletter/generated/2020-53.html (renamed from emailing/generated/2020-53.html) | 2 | ||||
| -rw-r--r-- | newsletter/generated/index.html (renamed from emailing/generated/index.html) | 4 | ||||
| -rw-r--r-- | newsletter/package.json (renamed from emailing/package.json) | 0 | ||||
| -rwxr-xr-x | newsletter/send (renamed from emailing/send) | 0 | ||||
| -rw-r--r-- | newsletter/templates/index.hbs (renamed from emailing/templates/index.hbs) | 2 | ||||
| -rw-r--r-- | newsletter/templates/mailing.hbs (renamed from emailing/templates/mailing.hbs) | 2 | ||||
| -rw-r--r-- | templates/partials/navigation.twig | 2 |
15 files changed, 13 insertions, 11 deletions
| @@ -18,5 +18,5 @@ deploy: clean generate copy-weekly-links | |||
| 18 | firebase deploy | 18 | firebase deploy |
| 19 | 19 | ||
| 20 | copy-weekly-links: | 20 | copy-weekly-links: |
| 21 | mkdir -p public/weekly-links-archive | 21 | mkdir -p public/weekly-newsletter-archive |
| 22 | cp -rf emailing/generated/* public/weekly-links-archive/ | 22 | cp -rf newsletter/generated/* public/weekly-newsletter-archive/ |
diff --git a/content/2020-12-25-weekly-links.md b/content/2020-12-25-weekly-newsletter.md index 876c2f2..7f6e873 100644 --- a/content/2020-12-25-weekly-links.md +++ b/content/2020-12-25-weekly-newsletter.md | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | ~ title: Weekly links | 1 | ~ title: Weekly newsletter |
| 2 | ~ slug: /weekly-links.html | 2 | ~ slug: /weekly-newsletter.html |
| 3 | ~ date: 2020-12-25 | 3 | ~ date: 2020-12-25 |
| 4 | ~ template: page | 4 | ~ template: page |
| 5 | ~ hide: true | 5 | ~ hide: true |
| 6 | 6 | ||
| 7 | 🕵🏼 [You can check old emailing archive sent here.](/weekly-links-archive/) | 7 | 🕵🏼 [You can check old emailing archive sent here.](/weekly-newsletter-archive/) |
| 8 | |||
| 8 | 9 | ||
| 9 | <iframe src="https://cdn.forms-content.sg-form.com/b9a1dea3-465a-11eb-af61-0e1900a266f8" width="610px" height="700" frameborder="0" scrolling="no"></iframe> | 10 | <iframe src="https://cdn.forms-content.sg-form.com/b9a1dea3-465a-11eb-af61-0e1900a266f8" width="610px" height="700" frameborder="0" scrolling="no"></iframe> |
diff --git a/emailing/.editorconfig b/newsletter/.editorconfig index 29a570e..29a570e 100644 --- a/emailing/.editorconfig +++ b/newsletter/.editorconfig | |||
diff --git a/emailing/.gitignore b/newsletter/.gitignore index d5a0f97..d5a0f97 100644 --- a/emailing/.gitignore +++ b/newsletter/.gitignore | |||
diff --git a/emailing/campaigns/2020-52.json b/newsletter/campaigns/2020-52.json index 5990b8d..5990b8d 100644 --- a/emailing/campaigns/2020-52.json +++ b/newsletter/campaigns/2020-52.json | |||
diff --git a/emailing/campaigns/2020-53.json b/newsletter/campaigns/2020-53.json index de44449..de44449 100644 --- a/emailing/campaigns/2020-53.json +++ b/newsletter/campaigns/2020-53.json | |||
diff --git a/emailing/campaigns/template.json b/newsletter/campaigns/template.json index 56b33c9..56b33c9 100644 --- a/emailing/campaigns/template.json +++ b/newsletter/campaigns/template.json | |||
diff --git a/emailing/generated/2020-52.html b/newsletter/generated/2020-52.html index a20531a..73f79da 100644 --- a/emailing/generated/2020-52.html +++ b/newsletter/generated/2020-52.html | |||
| @@ -78,6 +78,7 @@ | |||
| 78 | </div> | 78 | </div> |
| 79 | 79 | ||
| 80 | <div style="text-align: center; font-size: 80%; margin-top: 20px;"> | 80 | <div style="text-align: center; font-size: 80%; margin-top: 20px;"> |
| 81 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com/weekly-newsletter-archive/">weekly links archive</a> | ||
| 81 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com">mitjafelicijan.com</a> | 82 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com">mitjafelicijan.com</a> |
| 82 | <a style="color: #666; margin: auto 10px" href="https://github.com/mitjafelicijan">github.com/mitjafelicijan</a> | 83 | <a style="color: #666; margin: auto 10px" href="https://github.com/mitjafelicijan">github.com/mitjafelicijan</a> |
| 83 | </div> | 84 | </div> |
diff --git a/emailing/generated/2020-53.html b/newsletter/generated/2020-53.html index d306ef7..60c6cef 100644 --- a/emailing/generated/2020-53.html +++ b/newsletter/generated/2020-53.html | |||
| @@ -316,7 +316,7 @@ | |||
| 316 | </div> | 316 | </div> |
| 317 | 317 | ||
| 318 | <div style="text-align: center; font-size: 80%; margin-top: 20px;"> | 318 | <div style="text-align: center; font-size: 80%; margin-top: 20px;"> |
| 319 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com/weekly-links-archive/">weekly links archive</a> | 319 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com/weekly-newsletter-archive/">weekly links archive</a> |
| 320 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com">mitjafelicijan.com</a> | 320 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com">mitjafelicijan.com</a> |
| 321 | <a style="color: #666; margin: auto 10px" href="https://github.com/mitjafelicijan">github.com/mitjafelicijan</a> | 321 | <a style="color: #666; margin: auto 10px" href="https://github.com/mitjafelicijan">github.com/mitjafelicijan</a> |
| 322 | </div> | 322 | </div> |
diff --git a/emailing/generated/index.html b/newsletter/generated/index.html index 1e83d9f..7d27ecb 100644 --- a/emailing/generated/index.html +++ b/newsletter/generated/index.html | |||
| @@ -25,8 +25,8 @@ | |||
| 25 | 25 | ||
| 26 | <h2>Weekly links archive</h2> | 26 | <h2>Weekly links archive</h2> |
| 27 | <ul class="article-list"> | 27 | <ul class="article-list"> |
| 28 | <li><a href="/weekly-links/2020-53.html">2020, 53</a></li> | 28 | <li><a href="/weekly-newsletter-archive/2020-53.html">2020, 53</a></li> |
| 29 | <li><a href="/weekly-links/2020-52.html">2020, 52</a></li> | 29 | <li><a href="/weekly-newsletter-archive/2020-52.html">2020, 52</a></li> |
| 30 | </ul> | 30 | </ul> |
| 31 | 31 | ||
| 32 | </main> | 32 | </main> |
diff --git a/emailing/package.json b/newsletter/package.json index c4c5bc3..c4c5bc3 100644 --- a/emailing/package.json +++ b/newsletter/package.json | |||
diff --git a/emailing/send b/newsletter/send index 66bdeb9..66bdeb9 100755 --- a/emailing/send +++ b/newsletter/send | |||
diff --git a/emailing/templates/index.hbs b/newsletter/templates/index.hbs index 50b7bdd..8a96125 100644 --- a/emailing/templates/index.hbs +++ b/newsletter/templates/index.hbs | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | <h2>Weekly links archive</h2> | 26 | <h2>Weekly links archive</h2> |
| 27 | <ul class="article-list"> | 27 | <ul class="article-list"> |
| 28 | {{#each files}} | 28 | {{#each files}} |
| 29 | <li><a href="/weekly-links/{{ this.file }}">{{ this.year }}, {{ this.week }}</a></li> | 29 | <li><a href="/weekly-newsletter-archive/{{ this.file }}">{{ this.year }}, {{ this.week }}</a></li> |
| 30 | {{/each}} | 30 | {{/each}} |
| 31 | </ul> | 31 | </ul> |
| 32 | 32 | ||
diff --git a/emailing/templates/mailing.hbs b/newsletter/templates/mailing.hbs index 42b464d..d1c8cf4 100644 --- a/emailing/templates/mailing.hbs +++ b/newsletter/templates/mailing.hbs | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | </div> | 32 | </div> |
| 33 | 33 | ||
| 34 | <div style="text-align: center; font-size: 80%; margin-top: 20px;"> | 34 | <div style="text-align: center; font-size: 80%; margin-top: 20px;"> |
| 35 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com/weekly-links-archive/">weekly links archive</a> | 35 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com/weekly-newsletter-archive/">weekly links archive</a> |
| 36 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com">mitjafelicijan.com</a> | 36 | <a style="color: #666; margin: auto 10px" href="https://mitjafelicijan.com">mitjafelicijan.com</a> |
| 37 | <a style="color: #666; margin: auto 10px" href="https://github.com/mitjafelicijan">github.com/mitjafelicijan</a> | 37 | <a style="color: #666; margin: auto 10px" href="https://github.com/mitjafelicijan">github.com/mitjafelicijan</a> |
| 38 | </div> | 38 | </div> |
diff --git a/templates/partials/navigation.twig b/templates/partials/navigation.twig index 56e0ef1..32a3814 100644 --- a/templates/partials/navigation.twig +++ b/templates/partials/navigation.twig | |||
| @@ -3,5 +3,5 @@ | |||
| 3 | <a href="/curriculum-vitae.html">CV</a> | 3 | <a href="/curriculum-vitae.html">CV</a> |
| 4 | <a href="https://twitter.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Twitter</a> | 4 | <a href="https://twitter.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Twitter</a> |
| 5 | <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Github</a> | 5 | <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Github</a> |
| 6 | <a href="/weekly-links.html">Weekly links</a> | 6 | <a href="/weekly-newsletter.html">Weekly newsletter</a> |
| 7 | </nav> | 7 | </nav> |
