swx.conf.meta 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. ## SWX Configuration
  2. #
  3. ## Site title
  4. TITLE="$site_title"
  5. SUBTITLE=""
  6. HOSTNAME="$site_hostname"
  7. GAMEPATH="$lgn_game_path"
  8. GAMENAME="$lgn_game"
  9. GAMEVERSION="$lgn_game_version"
  10. DISPLAY_TITLE=0
  11. # Files and pages you don't want to see in menus
  12. BL="favicon.svg favicon.ico style.css robots.txt img"
  13. # File conversion to HTML
  14. CONVERTER="/usr/local/bin/multimarkdown" # md handler
  15. EXT=".md" # extension of files to convert
  16. # Maximum entries in RSS feed
  17. MAX=20
  18. # String to replace with new articles list
  19. NEWSSTR="%%%BLOG%%%"
  20. # LOG FILE
  21. LOG=swx.log
  22. # What you want in the header of you pages
  23. HEADER='<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css">
  24. <link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/bellota" type="text/css"/>
  25. <link rel="stylesheet" type="text/css" href="/res/lgn.css">
  26. <meta charset="UTF-8">
  27. <meta http-equiv="Refresh" content="60">
  28. <meta name="description" content="$meta_description">
  29. <meta name="keywords" content="$meta_keywords">
  30. '
  31. # HTML code to include in every HTML page
  32. # things to put on every page BEFORE the content
  33. TOPTEMPLATE='<div class="row titlebar text-center">
  34. <!-- The double-linking might look redundant, but it is so the clickable area is larger
  35. If only the div was linked, then Vimb, VimFX etc could not mark the text as a link
  36. If only the h1 tag was linked, then mobile users would have a smaller area to click -->
  37. <a href="/$schedule_name.html">
  38. <div class="col-md-6 col-lg-2">
  39. <a href="/$schedule_name.html">
  40. <h1><b>$header_schedule</b></h1>
  41. </a>
  42. </div>
  43. </a>
  44. <a href="/$list_name.html">
  45. <div class="col-md-6 col-lg-2">
  46. <a href="/$list_name.html">
  47. <h1><b>$header_list</b></h1>
  48. </a>
  49. </div>
  50. </a>
  51. <a href="/">
  52. <div class="col-md-6 col-lg-4">
  53. <a href="/">
  54. <img src="/res/LGN.png" width=140px>
  55. </a>
  56. </div>
  57. </a>
  58. <a href="/pub/$lgn_game_path">
  59. <div class="col-md-6 col-lg-2">
  60. <a href="/pub/$lgn_game_path/">
  61. <h1><b>$header_setup</b></h1>
  62. </a>
  63. </div>
  64. </a>
  65. <a href="/$contact_name.html">
  66. <div class="col-md-6 col-lg-2">
  67. <a href="/$contact_name.html">
  68. <h1><b>$header_contact</b></h1>
  69. </a>
  70. </div>
  71. </a>
  72. </div>
  73. '
  74. # things to put on every page AFTER the content
  75. BOTTOMTEMPLATE=""
  76. # HTML you want in footer
  77. FOOTER="
  78. <p><a href='http://yeuxdelibad.net/Programmation/swx.html'><img src='/res/badges/swx.png'/></a> ::
  79. <a href='https://creativecommons.org/licenses/by-sa/3.0/'><img src='/res/badges/cc.png'/></a> ::
  80. <a href='https://libertybsd.net'><img src='/res/badges/lbsd.png'/></a><p>
  81. <p><tiny>$footer</tiny></p>"