A web blog and personal homepage engine written in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
959 B

  1. {{ define "title" }}Age Verification{{ end }}
  2. {{ define "content" }}
  3. <div class="card">
  4. <div class="card-body">
  5. <form action="/age-verify" method="POST">
  6. {{ CSRF }}
  7. <input type="hidden" name="next" value="{{ .V.Next }}">
  8. <input type="hidden" name="confirm" value="true">
  9. <h1>Restricted Content</h1>
  10. <p>
  11. This website has been marked <abbr title="Not Safe For Work">NSFW</abbr>
  12. by its owner. It may contain nudity or content not suited for users
  13. under the age of 18.
  14. </p>
  15. <p>
  16. To proceed, you must verify you are at least 18 years or older.
  17. </p>
  18. <button type="submit"
  19. class="btn btn-danger">
  20. I am 18 years or older
  21. </button>
  22. <a class="btn btn-primary"
  23. href="https://duckduckgo.com/">
  24. Get me out of here!
  25. </a>
  26. </form>
  27. </div>
  28. </div>
  29. {{ end }}