<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Eleventy Portway Starter</title>
  <subtitle>A template for building a simple blog with Eleventy and Portway</subtitle>
  <link href="https://eleventy-portway-starter.netlify.app/feed.xml" rel="self"/>
  <link href="https://eleventy-portway-starter.netlify.app"/>
  <updated>2021-05-11T18:51:24Z</updated>
  <id>https://eleventy-portway-starter.netlify.app</id>
  
    <entry>
  	<title>Admin Features</title>
  	<link href="https://eleventy-portway-starter.netlify.app/posts/admin-features/"/>
  	<updated>2021-02-04T18:11:53Z</updated>
  	<id>https://eleventy-portway-starter.netlify.app/posts/admin-features/</id>
  	<content type="html">&lt;p&gt;Once you have your blog &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/getting-started&quot;&gt;set up and deployed&lt;/a&gt; to a host like Netlify, it’s entirely possible to write, edit, and publish new blog posts without needing to touch the Git repository.&lt;/p&gt;
&lt;p&gt;Still, you might want to share a link with someone else for proofreading or review. (Or, maybe you just want to take a quick peek at how your draft is coming along before pressing &lt;strong&gt;Publish&lt;/strong&gt;.)&lt;/p&gt;
&lt;img alt=&quot;Backlit keyboard&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/669/1614012043687-1613974221190-florian-krumm-1osIUArK5oA-unsplash.jpg&quot; /&gt;
&lt;p&gt;With a few additional configurations, you can create a simple admin-like setup for managing your content:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Show unpublished drafts&lt;/li&gt;
&lt;li&gt;Display “Edit this post on Portway” links on individual blog posts&lt;/li&gt;
&lt;li&gt;Expose a &lt;strong&gt;Build&lt;/strong&gt; button to trigger manual builds — &lt;em&gt;Coming soon!&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Example&lt;/strong&gt; — To get an idea of what this looks like in practice, take a peek at the “secret” &lt;a href=&quot;https://eleventy-portway-admin.netlify.app/&quot;&gt;admin deployment&lt;/a&gt; for this site.&lt;/p&gt;
&lt;h2 id=&quot;admin-deployment&quot;&gt;Admin deployment&lt;/h2&gt;
&lt;p&gt;Creating a second “admin” deployment on Netlify allows you to enable admin tools in an environment that’s identical to your actual site!&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Netlify dashboard, click the &lt;a href=&quot;https://app.netlify.com/start&quot;&gt;&lt;strong&gt;New site from Git&lt;/strong&gt;&lt;/a&gt; button&lt;/li&gt;
&lt;li&gt;Select your Git provider&lt;/li&gt;
&lt;li&gt;Find and select the Git repo for your blog created during &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/getting-started&quot;&gt;initial setup&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;callout&quot;&gt;Once you’ve created a second deployment, use the environment variables described below to enable admin features.
&lt;strong&gt;Heads up!&lt;/strong&gt; — Unless you don’t mind random people stopping by to read your drafts, your admin deployment should use a secret, unguessable URL 🤫&lt;/p&gt;
&lt;h2 id=&quot;enabling-admin-features&quot;&gt;Enabling admin features&lt;/h2&gt;
&lt;p&gt;A few admin features are controlled by special &lt;a href=&quot;https://docs.netlify.com/configure-builds/environment-variables/&quot;&gt;environment variables&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In Netlify, these can be found and managed under &lt;strong&gt;Site Settings → Build &amp;amp; deploy → Environment&lt;/strong&gt;.&lt;/p&gt;
&lt;img alt=&quot;Environment variables in Netlify&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/669/1614012043690-1613954712833-netlify-admin-env.png&quot; /&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Tip&lt;/strong&gt; — After adding, removing, or updating configuration environment variables, be sure to &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/admin-features/#deploying-manually-from-netlify&quot;&gt;rebuild your site&lt;/a&gt; for the changes to be reflected&lt;/p&gt;
&lt;h3 id=&quot;show-drafts&quot;&gt;Show Drafts&lt;/h3&gt;
&lt;p&gt;To show unpublished posts on your admin deployment, add an environment variable &lt;code&gt;PORTWAY_SHOW_DRAFTS&lt;/code&gt; with a value of &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Note&lt;/strong&gt; — Take care not to enable this on your production site, or blog posts may appear before they have been published.&lt;/p&gt;
&lt;p&gt;To change this behavior on your local machine, add the following line to your &lt;code&gt;.env&lt;/code&gt; file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;PORTWAY_SHOW_DRAFTS=true
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;show-%E2%80%9Cedit-in-portway%E2%80%9D-links&quot;&gt;Show “Edit in Portway” links&lt;/h3&gt;
&lt;p&gt;As a convenience, you can configure your admin site to show “Edit this post in Portway” links at the bottom of each blog post like this:&lt;/p&gt;
&lt;div class=&quot;[][ center border-top padding-top-0 font-sm ][ portway-tools ]&quot; style=&quot;max-width: 75%&quot;&gt;
    &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/admin-features/#&quot;&gt;Edit this post in Portway&lt;/a&gt;
&lt;/div&gt;
&lt;p&gt;To enable this feature, add the environment variable &lt;code&gt;PORTWAY_SHOW_EDIT_LINK&lt;/code&gt; with a value of &lt;code&gt;true&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;To change this behavior on your local machine, add the following to your &lt;code&gt;.env&lt;/code&gt; file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;PORTWAY_SHOW_EDIT_LINK=true
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;show-%E2%80%9Cbuild%E2%80%9D-button&quot;&gt;Show “Build” button&lt;/h3&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;em&gt;Coming soon!&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&quot;previewing-draft-updates&quot;&gt;Previewing draft updates&lt;/h2&gt;
&lt;p&gt;Since automatic deployment via webhook only happens when you click &lt;strong&gt;Publish&lt;/strong&gt; in Portway, incremental edits to a document won’t automatically be reflected on your admin site.&lt;/p&gt;
&lt;p&gt;In general this is desirable, since you probably don’t want to trigger a build each time you make a minor change. But it means we have to take an extra step to manually build your admin site to reflect your latest edits.&lt;/p&gt;
&lt;h3 id=&quot;deploying-manually-from-netlify&quot;&gt;Deploying manually from Netlify&lt;/h3&gt;
&lt;p&gt;To kick off a build of your site to display the latest changes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;Sites&lt;/strong&gt; tab in the Netlify dashboard&lt;/li&gt;
&lt;li&gt;Click or tap your admin deployment&lt;/li&gt;
&lt;li&gt;Open the &lt;strong&gt;Deploys&lt;/strong&gt; tab&lt;/li&gt;
&lt;li&gt;Click or tap the &lt;strong&gt;Trigger deploy&lt;/strong&gt; button&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Deploy site&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;img alt=&quot;Netlify dashboard showing deploy site button&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/669/1614012043692-1613764928863-netlify-trigger-deploy.png&quot; /&gt;
&lt;h3 id=&quot;click-%E2%80%9Cbuild%E2%80%9D&quot;&gt;Click “Build”&lt;/h3&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;em&gt;Coming soon!&lt;/em&gt;&lt;/p&gt;
</content>
  </entry>
    <entry>
  	<title>Defining Post Metadata</title>
  	<link href="https://eleventy-portway-starter.netlify.app/posts/defining-post-metadata/"/>
  	<updated>2021-02-05T18:11:09Z</updated>
  	<id>https://eleventy-portway-starter.netlify.app/posts/defining-post-metadata/</id>
  	<content type="html">&lt;img alt=&quot;Jar of pushpins scattered&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/655/1614013013560-1614009007479-jess-bailey-xYAjmOe_Spk-unsplash.jpg&quot; /&gt;
&lt;p&gt;&lt;strong&gt;Eleventy Portway Starter&lt;/strong&gt; makes a few decisions about blog posts on your behalf, but you can customize some of those properties using Portway fields.&lt;/p&gt;
&lt;h2 id=&quot;using-fields&quot;&gt;Using fields&lt;/h2&gt;
&lt;p&gt;Inserting a field into your Portway document is a cinch:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a document for editing&lt;/li&gt;
&lt;li&gt;Click or tap the &lt;strong&gt;+&lt;/strong&gt; button in the toolbar below your editor&lt;/li&gt;
&lt;li&gt;Select the type of field you wish to insert&lt;/li&gt;
&lt;li&gt;Update the field name and value&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&quot;supported-properties&quot;&gt;Supported properties&lt;/h2&gt;
&lt;h3 id=&quot;date&quot;&gt;date&lt;/h3&gt;
&lt;p&gt;By default, a post’s date will correspond to the date it was first published from Portway. If you want to override that with a different date, add a &lt;strong&gt;Date&lt;/strong&gt; field anywhere in your document and give it the name &lt;code&gt;date&lt;/code&gt;.&lt;/p&gt;
&lt;img alt=&quot;Date field in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/655/1614013013566-1613955966852-portway-field-date.png&quot; /&gt;
&lt;h3 id=&quot;excerpt&quot;&gt;excerpt&lt;/h3&gt;
&lt;p&gt;Eleventy Portway Starter automatically generates an excerpt for each post, based roughly on the first sentence of the first text paragraph of your Portway document.&lt;/p&gt;
&lt;p&gt;To define a custom excerpt, add a &lt;strong&gt;String&lt;/strong&gt; field anywhere in your Portway document with the name &lt;code&gt;excerpt&lt;/code&gt;.&lt;/p&gt;
&lt;img alt=&quot;Excerpt field in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/655/1614013013571-1613955904579-portway-field-excerpt.png&quot; /&gt;
&lt;h3 id=&quot;pinned&quot;&gt;pinned&lt;/h3&gt;
&lt;p&gt;Posts are sorted on your blog home page in reverse chronological order using their publish dates. You can pin one or more posts to the front of the pack, regardless of their publish dates.&lt;/p&gt;
&lt;p&gt;Add a &lt;strong&gt;String&lt;/strong&gt; field with the name &lt;code&gt;pinned&lt;/code&gt; and the value &lt;code&gt;true&lt;/code&gt;. To un-pin a post, delete the field.&lt;/p&gt;
&lt;img alt=&quot;Pinned field in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/655/1614013013575-1613955912676-portway-field-pinned.png&quot; /&gt;
&lt;h3 id=&quot;thumbnail&quot;&gt;thumbnail&lt;/h3&gt;
&lt;p&gt;By default, the first image in a post is used as its thumbnail on the site’s home page as well as in social media link unfurls.&lt;/p&gt;
&lt;p&gt;If you’d prefer not to use this thumbnail, add a &lt;strong&gt;String&lt;/strong&gt; field with the name &lt;code&gt;thumbnail&lt;/code&gt; and the value &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;
&lt;img alt=&quot;Thumbnail field in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/655/1614013013579-1613955921773-portway-field-thumbnail.png&quot; /&gt;
&lt;h2 id=&quot;other-properties&quot;&gt;Other properties&lt;/h2&gt;
&lt;p&gt;While the supported properties listed above are treated specially, all fields defined in a Portway document are exposed in Eleventy via the &lt;code&gt;data&lt;/code&gt; property of a given &lt;code&gt;post&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;For example, if you wanted to add a &lt;strong&gt;Number&lt;/strong&gt; field called &lt;code&gt;countdown&lt;/code&gt; to each of your blog posts and display that prominently in the post layout, you might do so by editing &lt;strong&gt;src/post.njk&lt;/strong&gt; and adding something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;{{ post.data.countdown }} days left!&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
</content>
  </entry>
    <entry>
  	<title>Configuring Themes</title>
  	<link href="https://eleventy-portway-starter.netlify.app/posts/configuring-themes/"/>
  	<updated>2021-02-06T18:11:21Z</updated>
  	<id>https://eleventy-portway-starter.netlify.app/posts/configuring-themes/</id>
  	<content type="html">&lt;p&gt;A few simple theme options can be configured in the &lt;strong&gt;theme.json&lt;/strong&gt; file located in &lt;strong&gt;src/_data&lt;/strong&gt;.&lt;/p&gt;
&lt;img alt=&quot;Multicolored locker doors&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/647/1614012056768-1614007404005-moren-hsu-VLaKsTkmVhk-unsplash.jpg&quot; /&gt;
&lt;h2 id=&quot;editing&quot;&gt;Editing&lt;/h2&gt;
&lt;p&gt;Your Git provider probably supports editing files directly:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://docs.github.com/en/github/managing-files-in-a-repository/editing-files-in-your-repository&quot;&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://docs.gitlab.com/ee/user/project/repository/web_editor.html&quot;&gt;GitLab&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Commit your edits to trigger a new deployment in Netlify, rebuilding your blog with the latest changes.&lt;/p&gt;
&lt;p class=&quot;callout&quot;&gt;If you’re comfortable working with Git repositories, you can work locally as well&lt;/p&gt;
&lt;h2 id=&quot;colors&quot;&gt;Colors&lt;/h2&gt;
&lt;p&gt;By default, the site navigation and header use a white-on-indigo color scheme. You can change this by updating the &lt;code&gt;header&lt;/code&gt; property in &lt;strong&gt;theme.json&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;header&amp;quot;: {
    &amp;quot;background&amp;quot;: &amp;quot;#f6e05e&amp;quot;,
    &amp;quot;text&amp;quot;: &amp;quot;#1a202c&amp;quot;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Ditto for the footer:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;footer&amp;quot;: {
    &amp;quot;background&amp;quot;: &amp;quot;#1a202c&amp;quot;,
    &amp;quot;text&amp;quot;: &amp;quot;#f6e05e&amp;quot;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;icons&quot;&gt;Icons&lt;/h2&gt;
&lt;p&gt;You may have noticed the catchy sunglasses icon in the site navigation and placeholder for posts without images. This template project includes &lt;a href=&quot;https://github.com/ashur/eleventy-portway-starter/tree/main/src/icons&quot;&gt;a few other icons&lt;/a&gt; you can choose from.&lt;/p&gt;
&lt;p&gt;To try a different icon, set &lt;code&gt;icon.filename&lt;/code&gt; and &lt;code&gt;icon.alt&lt;/code&gt; in &lt;strong&gt;theme.json&lt;/strong&gt; and see what you think:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;icon&amp;quot;: {
    &amp;quot;filename&amp;quot;: &amp;quot;ice-cream.svg&amp;quot;,
    &amp;quot;alt&amp;quot;: &amp;quot;ice cream&amp;quot;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p class=&quot;callout&quot;&gt;If you decide to keep one of the included icons, you’ll need to attribute it to the artist. See the &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/credits&quot;&gt;Credits&lt;/a&gt; page for details.&lt;/p&gt;
&lt;h3 id=&quot;bring-your-own&quot;&gt;Bring your own&lt;/h3&gt;
&lt;p&gt;If you’d like to supply your own SVG icon, add it to &lt;code&gt;src/icons&lt;/code&gt; then set &lt;code&gt;icon.filename&lt;/code&gt; and &lt;code&gt;icon.alt&lt;/code&gt; in &lt;strong&gt;theme.json&lt;/strong&gt; to match.&lt;/p&gt;
&lt;p&gt;To add support for theming your custom icon, use &lt;code&gt;var( --theme-color-icon )&lt;/code&gt; as the fill color. For example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;g fill=&amp;quot;var(--theme-color-icon)&amp;quot; fill-rule=&amp;quot;nonzero&amp;quot;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Doing so will ensure that the glyph always matches the color used for &lt;code&gt;header.text&lt;/code&gt; any time you update your theme.&lt;/p&gt;
</content>
  </entry>
    <entry>
  	<title>Configuring Your Site</title>
  	<link href="https://eleventy-portway-starter.netlify.app/posts/configuring-your-site/"/>
  	<updated>2021-02-07T18:11:32Z</updated>
  	<id>https://eleventy-portway-starter.netlify.app/posts/configuring-your-site/</id>
  	<content type="html">&lt;p&gt;This starter template comes with a few default settings and pages that you’ll probably want to change.&lt;/p&gt;
&lt;img alt=&quot;Sound mixing board&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/670/1614012021114-1614010114892-mixing-board.jpg&quot; /&gt;
&lt;h2 id=&quot;site-details&quot;&gt;Site details&lt;/h2&gt;
&lt;h3 id=&quot;name-%26-description&quot;&gt;Name &amp;amp; description&lt;/h3&gt;
&lt;p&gt;Your site’s name and description are defined in Portway:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click or tap the &lt;strong&gt;Project Settings&lt;/strong&gt; link at the bottom of the Portway window&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Info&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click or tap &lt;strong&gt;Update project settings&lt;/strong&gt; to save your changes&lt;/li&gt;
&lt;/ol&gt;
&lt;img alt=&quot;Project settings in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/670/1614012021118-1613662442792-portway-project-settings.png&quot; /&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Note&lt;/strong&gt; — Updating project settings won’t trigger a build automatically. See &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/admin-features/#deploying-manually-from-netlify&quot;&gt;Deploying manually from Netlify&lt;/a&gt; for details.&lt;/p&gt;
&lt;h3 id=&quot;url&quot;&gt;URL&lt;/h3&gt;
&lt;p&gt;This template project strives to use relative URLs wherever possible, but in some cases (like the &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/feed.xml&quot;&gt;RSS feed&lt;/a&gt; that is generated automatically) a &lt;a href=&quot;https://en.wikipedia.org/wiki/Fully_qualified_domain_name&quot;&gt;fully qualified domain name&lt;/a&gt; is required.&lt;/p&gt;
&lt;p&gt;When building your site, Eleventy will first look for the &lt;code&gt;url&lt;/code&gt; property in &lt;strong&gt;src/_data/site.json&lt;/strong&gt;. If it’s empty or undefined, it will fall back to an environment variable named &lt;code&gt;URL&lt;/code&gt;.&lt;/p&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Tip&lt;/strong&gt; — If you’re hosting your site on Netlify, the &lt;code&gt;URL&lt;/code&gt; variable is automatically set for you!&lt;/p&gt;
&lt;p&gt;If you’d prefer not to use an environment variable to define your site’s URL, update the &lt;code&gt;url&lt;/code&gt; property in &lt;strong&gt;src/_data/site.json&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-json&quot;&gt;&amp;quot;url&amp;quot;: &amp;quot;https://my-new-blog.example.com&amp;quot;,
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Commit your changes and push them to your Git provider to update your site.&lt;/p&gt;
&lt;h3 id=&quot;author&quot;&gt;Author&lt;/h3&gt;
&lt;p&gt;Like the &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/configuring-your-site/#url&quot;&gt;site URL&lt;/a&gt;, optional author details are used in your blog’s RSS feed. To set an author name or email address, update the &lt;code&gt;author.name&lt;/code&gt; or &lt;code&gt;author.email&lt;/code&gt; properties in &lt;strong&gt;src/_data/site.json&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;author&amp;quot;: {
    &amp;quot;name&amp;quot;: &amp;quot;Author Name&amp;quot;,
    &amp;quot;email&amp;quot;: &amp;quot;author@example.com&amp;quot;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;static-assets&quot;&gt;Static assets&lt;/h2&gt;
&lt;p&gt;Any items placed in &lt;strong&gt;src/static&lt;/strong&gt; will be copied to the root of your site.&lt;/p&gt;
&lt;h3 id=&quot;favicon&quot;&gt;Favicon&lt;/h3&gt;
&lt;p&gt;Define a custom &lt;a href=&quot;https://en.wikipedia.org/wiki/Favicon&quot;&gt;favicon&lt;/a&gt; by adding &lt;strong&gt;favicon.png&lt;/strong&gt; to &lt;strong&gt;src/static&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id=&quot;social-image&quot;&gt;Social image&lt;/h3&gt;
&lt;p&gt;The first image in a post or page will be used as the preview image in link unfurls on sites like Twitter and Pinterest.&lt;/p&gt;
&lt;p&gt;You can add a custom &lt;strong&gt;social.png&lt;/strong&gt; to &lt;strong&gt;src/static&lt;/strong&gt; to use as the image for your home page or for pages that do not have any images.&lt;/p&gt;
&lt;h2 id=&quot;links&quot;&gt;Links&lt;/h2&gt;
&lt;p&gt;The site footer contains an optional a “Links” section whose contents can be defined in &lt;strong&gt;src/_data/links.json&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-json&quot;&gt;[
    {
        &amp;quot;name&amp;quot;: &amp;quot;Twitter&amp;quot;,
        &amp;quot;url&amp;quot;: &amp;quot;https://twitter.com/ashur&amp;quot;
    },
    {
        &amp;quot;name&amp;quot;: &amp;quot;GitHub&amp;quot;,
        &amp;quot;url&amp;quot;: &amp;quot;https://github.com/ashur&amp;quot;
    }
]
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;more%E2%80%A6&quot;&gt;More…&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/configuring-themes&quot;&gt;Configuring themes&lt;/a&gt; for details on choosing a different icon and defining new colors for your blog’s header and footer.&lt;/p&gt;
</content>
  </entry>
    <entry>
  	<title>Creating a Page</title>
  	<link href="https://eleventy-portway-starter.netlify.app/posts/creating-a-page/"/>
  	<updated>2021-02-08T18:11:43Z</updated>
  	<id>https://eleventy-portway-starter.netlify.app/posts/creating-a-page/</id>
  	<content type="html">&lt;p&gt;“Posts” and “pages” are very similar. They both contain text, images, and links, but they have slightly different roles:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Posts appear on your home page, in the &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/archive&quot;&gt;archive&lt;/a&gt;, and in your blog’s &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/feed.xml&quot;&gt;RSS feed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A link to a page will appear in the site navigation at the top of every page on the site&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Common uses for pages include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A description of your site, who you are, what a visitor might expect from this blog — ex., &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/about&quot;&gt;“About”&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Information about contacting you via Twitter, by email, or some other means&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;callout&quot;&gt;If pages don’t seem necessary for your blog, that’s okay!&lt;/p&gt;
&lt;img alt=&quot;Crumpled paper arranged to look like speech bubble&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/686/1614032521656-1614007074045-volodymyr-hryshchenko-V5vqWC9gyEU-unsplash.jpg&quot; /&gt;
&lt;h2 id=&quot;creating-a-page&quot;&gt;Creating a page&lt;/h2&gt;
&lt;p&gt;Let’s say you want to add an &lt;strong&gt;About&lt;/strong&gt; page to your new blog.&lt;/p&gt;
&lt;p&gt;Like posts, pages are created and managed in your blog’s Portway project.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click or tap the &lt;strong&gt;+&lt;/strong&gt; button at the top of the Documents sidebar&lt;/li&gt;
&lt;li&gt;Enter the title for your page — &lt;strong&gt;About&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next, insert a new &lt;strong&gt;String&lt;/strong&gt; field named &lt;code&gt;type&lt;/code&gt; with the value &lt;code&gt;page&lt;/code&gt;:&lt;/p&gt;
&lt;img alt=&quot;Type field in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/686/1614032521675-1613951957777-portway-field-type.png&quot; /&gt;
&lt;p class=&quot;callout&quot;&gt;See &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/defining-post-metadata/#using-fields&quot;&gt;Using fields&lt;/a&gt; for details on inserting fields into a Portway document&lt;/p&gt;
&lt;p&gt;This field is what distinguishes a page from a post when your blog is being built. If it’s missing, or doesn’t have the correct name or value, the document will be published as a post.&lt;/p&gt;
&lt;h2 id=&quot;other-page-metadata&quot;&gt;Other page metadata&lt;/h2&gt;
&lt;p&gt;There are a couple of other page properties you can manage using Portway fields.&lt;/p&gt;
&lt;h3 id=&quot;navigation&quot;&gt;navigation&lt;/h3&gt;
&lt;p&gt;You may not want all your pages to appear in the site’s navigation bar.&lt;/p&gt;
&lt;p&gt;To remove a page from the navigation, add a &lt;strong&gt;String&lt;/strong&gt; field anywhere in your Portway document with the name &lt;code&gt;navigation&lt;/code&gt; and the value &lt;code&gt;false&lt;/code&gt;:&lt;/p&gt;
&lt;img alt=&quot;Navigation field in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/686/1614032521681-1613951338853-portway-field-navigation.png&quot; /&gt;
&lt;h3 id=&quot;sort&quot;&gt;sort&lt;/h3&gt;
&lt;p&gt;By default, pages will appear from left to right in the site’s navigation in the order they were created.&lt;/p&gt;
&lt;p&gt;To customize the sort order, add a &lt;strong&gt;Number&lt;/strong&gt; field anywhere in your Portway document with the name &lt;code&gt;sort&lt;/code&gt; and the desired position in the site navigation:&lt;/p&gt;
&lt;img alt=&quot;Sort field in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/686/1614032521684-1613951202501-portway-field-sort.png&quot; /&gt;
&lt;h2 id=&quot;that%E2%80%99s-a-wrap!&quot;&gt;That’s a wrap!&lt;/h2&gt;
&lt;p&gt;At this point, hopefully you’ve successfully deployed your new site, published your first blog post, and created a new &lt;strong&gt;About&lt;/strong&gt; page.&lt;/p&gt;
&lt;p&gt;Don’t miss these other quick guides for configuring your site!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set a few &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/configuring-themes&quot;&gt;theme options&lt;/a&gt; for your blog’s header and footer&lt;/li&gt;
&lt;li&gt;Customize &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/defining-post-metadata&quot;&gt;blog post metadata&lt;/a&gt;, like pinning a post or setting a custom excerpt&lt;/li&gt;
&lt;li&gt;Create a second deployment to expose &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/admin-features&quot;&gt;simple admin features&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;callout&quot;&gt;If you ran into any hiccups or snags getting up and running, &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/about&quot;&gt;please let me know&lt;/a&gt;!&lt;/p&gt;
</content>
  </entry>
    <entry>
  	<title>Publishing a Post</title>
  	<link href="https://eleventy-portway-starter.netlify.app/posts/publishing-a-post/"/>
  	<updated>2021-02-02T18:11:33Z</updated>
  	<id>https://eleventy-portway-starter.netlify.app/posts/publishing-a-post/</id>
  	<content type="html">&lt;p&gt;Now that Netlify and Portway are set up to communicate, let’s take a quick tour of Portway’s editor then create and publish a “Hello, world” post for your new blog.&lt;/p&gt;
&lt;img alt=&quot;Earth as seen from space&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/676/1614012036704-1613973150898-nasa-Q1p7bh3SHj8-unsplash.jpg&quot; /&gt;
&lt;h2 id=&quot;writing%2C-with-style&quot;&gt;Writing, with style&lt;/h2&gt;
&lt;p&gt;Portway’s editor packs a lot of nice features, like headings, text formatting options, lists, and more. (If you’re familiar with Markdown documents, you’ll feel right at home!)&lt;/p&gt;
&lt;p&gt;To peruse your options, click or tap the &lt;strong&gt;Aa&lt;/strong&gt; button at the lower left corner of your editor window:&lt;/p&gt;
&lt;img alt=&quot;Menu displaying Markdown options in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/676/1614012036709-1613782203760-portway-markdown.png&quot; /&gt;
&lt;h2 id=&quot;fields&quot;&gt;Fields&lt;/h2&gt;
&lt;p&gt;Portway also features support for inserting and managing various data types:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Text&lt;/li&gt;
&lt;li&gt;Images&lt;/li&gt;
&lt;li&gt;Strings&lt;/li&gt;
&lt;li&gt;Numbers&lt;/li&gt;
&lt;li&gt;Dates&lt;/li&gt;
&lt;li&gt;Files&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;callout&quot;&gt;See &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/defining-post-metadata&quot;&gt;Defining post metadata&lt;/a&gt; for details on how Portway fields can be used to fine-tune your blog posts&lt;/p&gt;
&lt;h3 id=&quot;images&quot;&gt;Images&lt;/h3&gt;
&lt;p&gt;Unlike other Portway field types, images are inserted directly into your posts. A few things to know:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The first image in a post will be used as the thumbnail on your home page, as well as the preview image in link &lt;a href=&quot;https://medium.com/slack-developer-blog/everything-you-ever-wanted-to-know-about-unfurling-but-were-afraid-to-ask-or-how-to-make-your-e64b4bb9254&quot;&gt;unfurls&lt;/a&gt; on sites like Twitter and Pinterest&lt;/li&gt;
&lt;li&gt;Be sure to set descriptive names for your images after inserting them — they’re used to provide &lt;a href=&quot;https://en.wikipedia.org/wiki/Alt_attribute&quot;&gt;alt text&lt;/a&gt; to visitors who rely on screen readers&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;callout&quot;&gt;If you don’t include an image in your post, a placeholder will be used as the home page thumbnail instead&lt;/p&gt;
&lt;h2 id=&quot;%E2%80%9Chello%2C-world%E2%80%9D&quot;&gt;“Hello, world”&lt;/h2&gt;
&lt;p&gt;That should cover the basics! To start a new blog post, let’s create a new Portway document:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click or tap the &lt;strong&gt;+&lt;/strong&gt; button at the top of the Documents sidebar&lt;/li&gt;
&lt;li&gt;Enter the title for your post — &lt;strong&gt;Hello, world&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click or tap the green &lt;strong&gt;+&lt;/strong&gt; button (or press the Enter key)&lt;/li&gt;
&lt;li&gt;Enter the text you’d like to share with the world in your very first post. (No pressure! 😉)&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Tip!&lt;/strong&gt; — If you’re looking for images you can use freely, check out &lt;a href=&quot;https://www.nasa.gov/multimedia/imagegallery/index.html&quot;&gt;NASA&lt;/a&gt;, &lt;a href=&quot;https://commons.wikimedia.org/wiki/Category:Featured_pictures&quot;&gt;Wikimedia Commons&lt;/a&gt;, or &lt;a href=&quot;https://unsplash.com/&quot;&gt;Unsplash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you’re ready, click or tap the big green &lt;strong&gt;Publish to API&lt;/strong&gt; button in the lower right corner of the Portway editor, then click or tap &lt;strong&gt;Yes, publish this document&lt;/strong&gt; to confirm.&lt;/p&gt;
&lt;p&gt;That’s it! Wait a minute or two for Netlify’s build robots to do their thing, then refresh your site’s home page — you should see your new post waiting for you:&lt;/p&gt;
&lt;img alt=&quot;Home page featuring Hello world post&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/676/1614012036713-1613938959794-blog-hello-world.png&quot; /&gt;
&lt;h2 id=&quot;next%E2%80%A6&quot;&gt;Next…&lt;/h2&gt;
&lt;p&gt;Now that you’ve published your first post, let’s take a quick look at creating and managing &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/creating-a-page&quot;&gt;site pages&lt;/a&gt;…&lt;/p&gt;
</content>
  </entry>
    <entry>
  	<title>Getting Started</title>
  	<link href="https://eleventy-portway-starter.netlify.app/posts/getting-started/"/>
  	<updated>2021-02-03T18:11:58Z</updated>
  	<id>https://eleventy-portway-starter.netlify.app/posts/getting-started/</id>
  	<content type="html">&lt;p&gt;&lt;a href=&quot;https://getportway.com/&quot;&gt;Portway&lt;/a&gt;, a “Markdown-based, collaborative document app,” pairs really nicely with the static-site generator &lt;a href=&quot;https://11ty.dev/&quot;&gt;Eleventy&lt;/a&gt;. This starter template provides all the tools you need to set up a simple blog using Portway as the backing CMS.&lt;/p&gt;
&lt;img alt=&quot;Launch of the Falcon Heavy rocket&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029175-1614010866882-bill-jelen-woWf_VJ7dNs-unsplash.jpg&quot; /&gt;
&lt;p&gt;Here’s what we’ll cover in this guide:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Creating your own blog using this template and deploying it to Netlify&lt;/li&gt;
&lt;li&gt;Adding a new project in Portway&lt;/li&gt;
&lt;li&gt;Granting read-only access to Portway from Netlify&lt;/li&gt;
&lt;li&gt;Connecting Portway publishing to trigger new builds in Netlify&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To follow along, you’ll need accounts on the following services:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://portway.app/sign-up&quot;&gt;Portway&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://app.netlify.com/signup&quot;&gt;Netlify&lt;/a&gt; or a similar static hosting service&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://about.gitlab.com/free-trial/&quot;&gt;GitLab&lt;/a&gt;, &lt;a href=&quot;https://github.com/&quot;&gt;GitHub&lt;/a&gt;, or a similar Git provider&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;callout&quot;&gt;The guides in this template use &lt;a href=&quot;https://netlify.com/&quot;&gt;Netlify&lt;/a&gt; to demonstrate how to publish your blog, but many of the same concepts will apply if you use a different host.&lt;/p&gt;
&lt;p&gt;Ready? Let’s get started!&lt;/p&gt;
&lt;h2 id=&quot;deploy-to-netlify&quot;&gt;Deploy to Netlify&lt;/h2&gt;
&lt;p&gt;To create your own copy of this template and get up and running on Netlify, click this handy button:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://app.netlify.com/start/deploy?repository=https://github.com/ashur/eleventy-portway-starter&quot;&gt;&lt;img src=&quot;https://www.netlify.com/img/deploy/button.svg&quot; alt=&quot;Deploy to Netlify&quot; class=&quot;no-scale center block&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You’ll be prompted to create a new repository on your preferred Git provider:&lt;/p&gt;
&lt;img alt=&quot;Configuring site for deployment in Netlify&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029178-1613586210047-deploy-to-netlify.png&quot; /&gt;
&lt;p&gt;Enter a name for your repository (if you’ve already chosen a name for your blog, go ahead and use it here), then click &lt;strong&gt;Save &amp;amp; Deploy&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;When Netlify’s deployment robots finish building, click the new randomly generated &lt;code&gt;netlify.app&lt;/code&gt; URL in the upper right corner to open your new site. You should see something like this:&lt;/p&gt;
&lt;img alt=&quot;Newly deployed site with placeholder contents&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029181-1613938942228-blog-first-deploy.png&quot; /&gt;
&lt;p&gt;Let’s head over to Portway now to get things set up on that end. We’ll come back shortly to configure a few details in Netlify.&lt;/p&gt;
&lt;h2 id=&quot;portway&quot;&gt;Portway&lt;/h2&gt;
&lt;h3 id=&quot;create-a-new-project&quot;&gt;Create a new project&lt;/h3&gt;
&lt;p&gt;A “project” in Portway is a collection of related documents. Let’s create a new project to use as the source for your blog posts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;a href=&quot;https://portway.app/d/project/create&quot;&gt;&lt;strong&gt;+ New project&lt;/strong&gt;&lt;/a&gt; button&lt;/li&gt;
&lt;li&gt;Enter your blog’s name and description&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create Project&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;img alt=&quot;Creating a new project in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029185-1613774863855-portway-new-project.png&quot; /&gt;
&lt;h3 id=&quot;project-id&quot;&gt;Project ID&lt;/h3&gt;
&lt;p&gt;Once you’ve created a new project for your posts, locate the project ID in your browser’s address bar:&lt;/p&gt;
&lt;img alt=&quot;Web browser showing a Portway project&#39;s ID&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029189-1613598468135-portway-project-id.png&quot; /&gt;
&lt;p class=&quot;callout&quot;&gt;Make a note of this number somewhere, we’ll need it in just a bit.&lt;/p&gt;
&lt;h3 id=&quot;generate-api-keys&quot;&gt;Generate API keys&lt;/h3&gt;
&lt;p&gt;To access to your Portway project’s contents from Netlify, we’ll need to create an API key.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Project Settings&lt;/strong&gt; link at the bottom of the Portway window&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;API keys&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Add project key&lt;/strong&gt; button&lt;/li&gt;
&lt;li&gt;Enter a key name that describes the environment where it will be used&lt;/li&gt;
&lt;li&gt;Leave &lt;strong&gt;Role&lt;/strong&gt; set to &lt;em&gt;Reader&lt;/em&gt; to ensure contents are read-only&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create key&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Heads up!&lt;/strong&gt; Treat this API key just like you would a password. Store it securely and don’t share it with anyone.&lt;/p&gt;
&lt;img alt=&quot;Adding a new project key in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029191-1613595017738-portway-create-key.png&quot; /&gt;
&lt;p&gt;Once you’ve generated an API key, copy the string for use back over at Netlify.&lt;/p&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Tip&lt;/strong&gt; — Consider generating separate keys (ex., one for your local machine and one for Netlify) rather than reusing the same key in multiple environments.&lt;/p&gt;
&lt;h2 id=&quot;netlify&quot;&gt;Netlify&lt;/h2&gt;
&lt;h3 id=&quot;environment-variables&quot;&gt;Environment variables&lt;/h3&gt;
&lt;p&gt;Netlify needs to talk to Portway each time your blog is built. We’ll use &lt;a href=&quot;https://docs.netlify.com/configure-builds/environment-variables/&quot;&gt;environment variables&lt;/a&gt; to store your secret API key and project ID:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open your site in the Netlify dashboard&lt;/li&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Site Settings → Build &amp;amp; deploy → Environment&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Edit variables&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;PORTWAY_API_KEY&lt;/code&gt; and paste the API key you generated in Portway&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;PORTWAY_PROJECT_ID&lt;/code&gt; and enter your Portway project’s ID number&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Save&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;img alt=&quot;Managing environment variables in Netlify&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029195-1613953562262-netlify-environment-variables.png&quot; /&gt;
&lt;h3 id=&quot;build-hooks&quot;&gt;Build hooks&lt;/h3&gt;
&lt;p&gt;To take advantage of Portway’s &lt;strong&gt;Publish&lt;/strong&gt; feature, we need to generate a Netlify “build hook,” a special URL Portway will use to let Netlify know it’s time to re-build your site.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;Site Overview&lt;/strong&gt; for your site in the Netlify dashboard&lt;/li&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Site Settings → Build &amp;amp; deploy → Build hooks&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Add build hook&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Enter a descriptive name (ex., “Portway”)&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Save&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;img alt=&quot;Adding a new build hook in Netlify&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029197-1613953647951-netlify-build-hooks.png&quot; /&gt;
&lt;p class=&quot;callout&quot;&gt;&lt;strong&gt;Heads up!&lt;/strong&gt; Just like the API key, store this URL securely and don’t share it with anyone.&lt;/p&gt;
&lt;p&gt;Copy the URL and head back to Portway for our final setup step:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Project Settings&lt;/strong&gt; link at the bottom of the Portway window&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Webhooks&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Paste the Netlify build hook URL&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Add endpoint&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;img alt=&quot;Adding a new web hook in Portway&quot; src=&quot;https://www.portwaycontent.com/ARKMlNE8/d/644/1614012029201-1613779715791-portway-webhook.png&quot; /&gt;
&lt;p&gt;That’s it! Netlify and Portway are now configured for two-way communication 🎉&lt;/p&gt;
&lt;h2 id=&quot;next%E2%80%A6&quot;&gt;Next…&lt;/h2&gt;
&lt;p&gt;With the initial setup complete, it’s time to &lt;a href=&quot;https://eleventy-portway-starter.netlify.app/posts/publishing-a-post&quot;&gt;create your first blog post&lt;/a&gt;!&lt;/p&gt;
</content>
  </entry>
</feed>
