Skip to content

Commit

Permalink
Typo fixes (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgautreaux authored Sep 3, 2024
1 parent 2ee21c4 commit ef68fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/introduction/your-first-site.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ mix phx.server

Visit http://localhost:4000 to see the default home page created by Beacon.

## Acessing LiveAdmin to manage your site
## Accessing LiveAdmin to manage your site

Let's customize the home page. Visit http://localhost:4000/admin and you should see the `my_site` that you just created listed on the admin interface.

Now let's create the resources for our first site, and we'll starting by creating the resources used by the home page before we customize its template.

## Live Data

We want to display the current yeat at the footer of the home page as the assign `<%= @current_year %>`. In Beacon we use Live Data to create and modify assigns at runtime, let's do it.
We want to display the current year at the footer of the home page as the assign `<%= @current_year %>`. In Beacon we use Live Data to create and modify assigns at runtime, let's do it.

Go to http://localhost:4000/admin/my_site/live_data to create a new path `/` and then create a new assign named `current_year` using the `elixir` format with the following value:

Expand Down

0 comments on commit ef68fac

Please sign in to comment.