
<%- include("./partials/header.ejs") %>
<div class="d-flex flex-column min-vh-100">
<body>
    <div class="container-md mb-3">
        <div class="flex-container">
            <h1><%= titleName %></h1>
            <h4>Posted By : <%= authorName %></h4>
            <div class="content">
            <h4>Article:</h4>
            <p><%= contentName %></p>
            </div>
        </div>
    <button type="submit" class="btn btn-primary" ><a class="post" href="/edit/<%=id %>">Edit</a></button>
    <button type="submit" class="btn btn-danger "><a class="post" href="/delete/<%=id%>">Delete</a></button>
    </div>
</div>    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
    <%- include("./partials/footer.ejs")  %>