Skip to content

Commit

Permalink
default data for my blog
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-roch committed Jan 24, 2019
1 parent d0c924e commit f7cff42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
16 changes: 8 additions & 8 deletions _data/metadata.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"title": "Your Blog Name",
"url": "https://myurl.com/",
"description": "I am writing about my experiences as a naval navel-gazer.",
"title": "Divided by Zero",
"url": "https://blog.sebastien-roch.com/",
"description": "My blog about Javascript and Web in general",
"feed": {
"subtitle": "I am writing about my experiences as a naval navel-gazer.",
"subtitle": "My blog about Javascript and Web in general",
"filename": "feed.xml",
"path": "/feed/feed.xml",
"url": "https://myurl.com/feed/feed.xml",
"id": "https://myurl.com/"
"url": "https://blog.sebastien-roch.com/feed/feed.xml",
"id": "https://blog.sebastien-roch.com/"
},
"author": {
"name": "Your Name Here",
"email": "youremailaddress@example.com"
"name": "Sébastien Roch",
"email": "roch.sebastien@gmail.com"
}
}
9 changes: 0 additions & 9 deletions _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@
</header>

<main{% if templateClass %} class="{{ templateClass }}"{% endif %}>
<div class="warning">
<ol>
<li>Edit the <code>_data/metadata.json</code> with your blog’s information.</li>
<li>(Optional) Edit <code>.eleventy.js</code> with your configuration preferences.</li>
<li>Delete this message from <code>_includes/layouts/base.njk</code>.</li>
</ol>
<p><em>This is an <a href="https://www.11ty.io/">Eleventy project</a> created from the <a href="https://github.com/11ty/eleventy-base-blog"><code>eleventy-base-blog</code> repo</a>.</em></p>
</div>

{{ content | safe }}
</main>

Expand Down

0 comments on commit f7cff42

Please sign in to comment.