swx.conf.meta 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ## SWX Configuration
  2. #
  3. ## Site title
  4. TITLE="LibertyBSD"
  5. SUBTITLE=""
  6. HOSTNAME="$site_hostname"
  7. DISPLAY_TITLE=0
  8. # Files and pages you don't want to see in menus
  9. BL="favicon.svg favicon.ico style.css robots.txt img"
  10. # File conversion to HTML
  11. CONVERTER="/usr/local/bin/multimarkdown" # md handler
  12. EXT=".md" # extension of files to convert
  13. # Maximum entries in RSS feed
  14. MAX=20
  15. # String to replace with new articles list
  16. NEWSSTR="%%%BLOG%%%"
  17. # LOG FILE
  18. LOG=swx.log
  19. # What you want in the header of you pages
  20. HEADER='<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css">
  21. <meta charset="UTF-8">
  22. <meta name="description" content="$meta_description">
  23. <meta name="keywords" content="$meta_keywords">'
  24. TOPTEMPLATE='<div>
  25. <nav class="navbar navbar-default">
  26. <div class="navbar-header">
  27. <a href="#" class="navbar-brand"><img alt="$logo_alt" width=100 src="/$art_url/logo_stars.png"></a>
  28. </div>
  29. <div>
  30. <ul class="nav navbar-nav">
  31. <li><a href="$download_url">$download_name</a></li>
  32. <li><a href="https://en.libertybsd.net/forum">$forum_name</a></li>
  33. <li><a href="$faq_url">$faq_name</a></li>
  34. <li><a href="$ports_url">$ports_name</a></li>
  35. <li><a href="$art_url">$art_name</a></li>
  36. </ul>
  37. <ul class="nav navbar-nav navbar-right">
  38. <li><a href="$alangurl">$alang</a></li>
  39. <li class="active"><a href="$site_hostname">$clang</a></li>
  40. <li><a href="https://notabug.org/libertybsd/">Git</a></li>
  41. </ul>
  42. </div>
  43. </nav>
  44. </div>'
  45. # things to put on every page AFTER the content
  46. BOTTOMTEMPLATE=""
  47. # HTML you want in footer
  48. FOOTER="<a href='https://validator.w3.org/check?uri=$site_hostname'>Viewable in Any Browser</a>"