diff --git a/package.json b/package.json index 04d533a..f7b9e8a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "websostenible", "type": "module", - "version": "0.1.2", + "version": "0.1.3", "scripts": { "dev": "astro dev", "devhost": "astro dev --host", diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..d04e76c --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,27 @@ + + \ No newline at end of file diff --git a/src/layouts/PostStyle.astro b/src/layouts/PostStyle.astro index 1c87446..bffba99 100644 --- a/src/layouts/PostStyle.astro +++ b/src/layouts/PostStyle.astro @@ -3,6 +3,7 @@ import { getHeadings } from '../utils/getHeadings'; // Asumimos que crearemos esta utilidad import RelatedPosts from '../components/PostsRelacionados.astro'; // Componente para posts relacionados import Navbar from '../components/Navbar.astro'; +import Footer from '../components/Footer.astro'; const { frontmatter, content } = Astro.props; const headings = getHeadings(content); @@ -20,23 +21,23 @@ const linkedinShareUrl = `https://www.linkedin.com/shareArticle?mini=true&url=${ - {frontmatter.title} - Ecobjetivos + {frontmatter.titulo} - Ecobjetivos - + - + - + - + - \ No newline at end of file + + + \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 3746178..1ccde6d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,5 +1,6 @@ --- // Component Imports +import Footer from "../components/Footer.astro"; import ListadoPostsHorizontal from "../components/ListadoPostsHorizontal.astro"; import Navbar from "../components/Navbar.astro"; import { Image } from "astro:assets"; @@ -248,32 +249,7 @@ const animateOnScroll = ` - +