Skip to content

Commit

Permalink
Add variable for author
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinesalib committed Apr 24, 2022
1 parent 3872198 commit 086ed4f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<title><%= @title_prefix %>TODO</title>
<% @author = "Your name" %>
<title><%= "#{@title_prefix} #{@author}"%></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
Expand All @@ -13,7 +14,7 @@
<body>
<header class="header">
<div class="header-inner">
<a href="/" class="title">TODO</a>
<a href="/" class="title"><%= @author %></a>
<nav class="nav">
<a class="link" href="<%= about_path %>">About</a>
<a class="link" href="<%= blog_path %>">Blog</a>
Expand Down

0 comments on commit 086ed4f

Please sign in to comment.