From dc54f5dd70c7e68e62d8b6b29f4105b24ca0502a Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Mon, 30 Dec 2019 18:51:45 +0100 Subject: [PATCH] Display latest posts in footer and other links --- rollup.config.js | 3 +- src/components/Footer.svelte | 179 ++++++++++++++++++++++++----------- src/routes/_layout.svelte | 15 ++- 3 files changed, 142 insertions(+), 55 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index d147185..949b52a 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -38,6 +38,7 @@ export default { dedupe, }), commonjs(), + svg(), legacy && babel({ @@ -67,7 +68,6 @@ export default { terser({ module: true, }), - svg(), ], onwarn, @@ -89,6 +89,7 @@ export default { dedupe, }), commonjs(), + svg(), ], external: Object.keys(pkg.dependencies).concat( require('module').builtinModules || diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index 827b1e8..28e4bc4 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,9 +1,12 @@