_defaults.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. {# Label for the list of related posts #}
  2. {% if not RELATED_POSTS_LABEL %}
  3. {% set RELATED_POSTS_LABEL = 'Related Posts' %}
  4. {% else %}
  5. {% set RELATED_POSTS_LABEL = RELATED_POSTS_LABEL %}
  6. {% endif %}
  7. {# Label for the list of social profiles #}
  8. {% if not SOCIAL_PROFILE_LABEL %}
  9. {% set SOCIAL_PROFILE_LABEL = 'Contact' %}
  10. {% else %}
  11. {% set SOCIAL_PROFILE_LABEL = SOCIAL_PROFILE_LABEL %}
  12. {% endif %}
  13. {# Label for the Email subscription form #}
  14. {% if not EMAIL_SUBSCRIPTION_LABEL %}
  15. {% set EMAIL_SUBSCRIPTION_LABEL = 'Email Newsletter' %}
  16. {% else %}
  17. {% set EMAIL_SUBSCRIPTION_LABEL = EMAIL_SUBSCRIPTION_LABEL %}
  18. {% endif %}
  19. {# Placeholder text for Email field #}
  20. {% if not EMAIL_FIELD_PLACEHOLDER %}
  21. {% set EMAIL_FIELD_PLACEHOLDER = 'Enter your email...' %}
  22. {% else %}
  23. {% set EMAIL_FIELD_PLACEHOLDER = EMAIL_FIELD_PLACEHOLDER %}
  24. {% endif %}
  25. {# Subscribe button title #}
  26. {% if not SUBSCRIBE_BUTTON_TITLE %}
  27. {% set SUBSCRIBE_BUTTON_TITLE = 'Subscribe' %}
  28. {% else %}
  29. {% set SUBSCRIBE_BUTTON_TITLE = SUBSCRIBE_BUTTON_TITLE %}
  30. {% endif %}
  31. {# Count of recent articles to be shown on the home page #}
  32. {% if not RECENT_ARTICLES_COUNT %}
  33. {% set RECENT_ARTICLES_COUNT = 10 %}
  34. {% else %}
  35. {% set RECENT_ARTICLES_COUNT = RECENT_ARTICLES_COUNT %}
  36. {% endif %}
  37. {# Label to show before Share Post links #}
  38. {% if not SHARE_POST_INTRO %}
  39. {% set SHARE_POST_INTRO = 'Share on:' %}
  40. {% else %}
  41. {% set SHARE_POST_INTRO = SHARE_POST_INTRO %}
  42. {% endif %}
  43. {# Label to show before comments #}
  44. {% if not COMMENTS_INTRO %}
  45. {% set COMMENTS_INTRO = '' %}
  46. {% else %}
  47. {% set COMMENTS_INTRO = COMMENTS_INTRO %}
  48. {% endif %}
  49. {# Label to show with multi-part plugin widget #}
  50. {% if not SERIES_TITLE %}
  51. {% set SERIES_TITLE = 'Series' %}
  52. {% else %}
  53. {% set SERIES_TITLE = SERIES_TITLE %}
  54. {% endif %}
  55. {# Author's twitter handle. Used in Twitter card meta data #}
  56. {% if not TWITTER_USERNAME %}
  57. {% set TWITTER_USERNAME = '' %}
  58. {% else %}
  59. {% set TWITTER_USERNAME = TWITTER_USERNAME %}
  60. {% endif %}
  61. {# Author's Google Plus Profile URL. Used for Google Authorship #}
  62. {% if not GOOGLE_PLUS_PROFILE_URL %}
  63. {% set GOOGLE_PLUS_PROFILE_URL = '' %}
  64. {% else %}
  65. {% set GOOGLE_PLUS_PROFILE_URL = GOOGLE_PLUS_PROFILE_URL %}
  66. {% endif %}
  67. {# Thumbnail image to show when homepage is shared on social media. It also
  68. serves as the default image for posts whose featured_image is not set. #}
  69. {% if not FEATURED_IMAGE %}
  70. {% set FEATURED_IMAGE = '' %}
  71. {% else %}
  72. {% set FEATURED_IMAGE = FEATURED_IMAGE %}
  73. {% endif %}
  74. {# License of your site that appears in the footer of every page #}
  75. {% if not SITE_LICENSE %}
  76. {% set SITE_LICENSE = '' %}
  77. {% else %}
  78. {% set SITE_LICENSE = SITE_LICENSE %}
  79. {% endif %}
  80. {# Description of your site. It is used in meta tags so it will appear in
  81. search results and social media #}
  82. {% if not SITE_DESCRIPTION %}
  83. {% set SITE_DESCRIPTION = '' %}
  84. {% else %}
  85. {% set SITE_DESCRIPTION = SITE_DESCRIPTION %}
  86. {% endif %}
  87. {# Mailchimp form action URL. This value is mandatory, to show subscriber form
  88. #}
  89. {% if not MAILCHIMP_FORM_ACTION %} {% set MAILCHIMP_FORM_ACTION = '' %}
  90. {% else %}
  91. {% set MAILCHIMP_FORM_ACTION = MAILCHIMP_FORM_ACTION %}
  92. {% endif %}
  93. {# It is displayed along with the SITENAME in the footer of every page #}
  94. {% if not SITE_SUBTITLE %}
  95. {% set SITE_SUBTITLE = '' %}
  96. {% else %}
  97. {% set SITE_SUBTITLE = SITE_SUBTITLE %}
  98. {% endif %}
  99. {# Set it to True to display favicon and speed dial icon. Also make sure that
  100. you have placed images in the appropriate directory and defined STATIC_PATHS
  101. accordingly #}
  102. {% if not USE_FAVICON %}
  103. {% set USE_FAVICON = False %}
  104. {% else %}
  105. {% set USE_FAVICON = USE_FAVICON %}
  106. {% endif %}
  107. {# It is a dictionary with two keys: title, details. Value of each key is a
  108. string. It is used to display About me section on the home page.
  109. LANDING_PAGE_ABOUT = {'title': 'Talha Mansoor',
  110. 'details': '<p>I am a software developer. This blog is'
  111. 'my personal space in the cyber world!</p>'
  112. }
  113. #}
  114. {% if not LANDING_PAGE_ABOUT %}
  115. {% set LANDING_PAGE_ABOUT = '' %}
  116. {% else %}
  117. {% set LANDING_PAGE_ABOUT = LANDING_PAGE_ABOUT %}
  118. {% endif %}
  119. {# It is an array of dictionaries. Each distionary has three keys: name, url,
  120. description.
  121. PROJECTS = [{
  122. 'name': 'Logpad + Duration',
  123. 'url': 'https://github.com/talha131/logpad-plus-duration#logpad--duration',
  124. 'description': 'Vim plugin to emulate Windows Notepad logging feature,'
  125. ' and log duration of each entry'},
  126. {'name': 'Elegant Theme for Pelican',
  127. 'url': 'http://oncrashreboot.com/pelican-elegant',
  128. 'description': 'A clean and distraction free theme, with search and a'
  129. ' lot more unique features, using Jinja2 and Bootstrap'}]
  130. #}
  131. {% if not PROJECTS %}
  132. {% set PROJECTS = '' %}
  133. {% else %}
  134. {% set PROJECTS = PROJECTS %}
  135. {% endif %}