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.

index.md 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. +++
  2. title = "hallo"
  3. description = "A single-page theme to introduce yourself."
  4. template = "theme.html"
  5. date = 2019-06-05T15:08:48+02:00
  6. [extra]
  7. created = 2019-07-12T23:55:11+02:00
  8. updated = 2019-06-05T15:08:48+02:00
  9. repository = "https://github.com/flyingP0tat0/zola-hallo.git"
  10. homepage = "https://github.com/janbaudisch/zola-hallo"
  11. minimum_version = "0.4.0"
  12. license = "MIT"
  13. demo = "https://zola-hallo.janbaudisch.dev"
  14. [extra.author]
  15. name = "Jan Baudisch"
  16. homepage = "https://janbaudisch.dev"
  17. +++
  18. [![Build Status][build-img]][build-url]
  19. [![Demo][demo-img]][demo-url]
  20. # Hallo
  21. > A single-page theme to introduce yourself.
  22. >
  23. > [Zola][zola] port of [hallo-hugo][hallo-hugo].
  24. ![Screenshot](screenshot.png)
  25. ## Original
  26. This is a port of the original [hallo-hugo][hallo-hugo] theme for Hugo ([License][upstream-license]).
  27. ## Installation
  28. The easiest way to install this theme is to either clone it ...
  29. ```
  30. git clone https://github.com/janbaudisch/zola-hallo.git themes/hallo
  31. ```
  32. ... or to use it as a submodule.
  33. ```
  34. git submodule add https://github.com/janbaudisch/zola-hallo.git themes/hallo
  35. ```
  36. Either way, you will have to enable the theme in your `config.toml`.
  37. ```toml
  38. theme = "hallo"
  39. ```
  40. ### Introduction
  41. The introduction text is included from `templates/partials/introduction.html`.
  42. You will need to create this file and fill it with content.
  43. ## Options
  44. See [`config.toml`][config] for an example configuration.
  45. ### Author
  46. The given name will be used for the 'I am ...' text.
  47. Default: `Hallo`
  48. ```toml
  49. [extra.author]
  50. name = "Hallo"
  51. ```
  52. ### Greeting
  53. The string will be used as a greeting.
  54. Default: `Hello!`
  55. ```toml
  56. [extra]
  57. greeting = "Hello!"
  58. ```
  59. ### `iam`
  60. This variable defines the `I am` text, which you may want to swap out for another language.
  61. Default: `I am`
  62. ```toml
  63. [extra]
  64. iam = "I am"
  65. ```
  66. ### Links
  67. Links show up below the introduction. They are styled with [Font Awesome][fontawesome], you may optionally choose the iconset (default is [brands][fontawesome-brands]).
  68. ```toml
  69. [extra]
  70. links = [
  71. { title = "E-Mail", url = "mailto:mail@example.org", iconset = "fas", icon = "envelope" },
  72. { title = "GitHub", url = "https://github.com", icon = "github" },
  73. { title = "Twitter", url = "https://twitter.com", icon = "twitter" }
  74. ]
  75. ```
  76. ### Theme
  77. Change the colors used.
  78. ```toml
  79. [extra.theme]
  80. background = "#6FCDBD"
  81. foreground = "#FFF" # text and portrait border
  82. hover = "#333" # link hover
  83. ```
  84. [build-img]: https://travis-ci.com/janbaudisch/zola-hallo.svg?branch=master
  85. [build-url]: https://travis-ci.com/janbaudisch/zola-hallo
  86. [demo-img]: https://img.shields.io/badge/demo-live-green.svg
  87. [demo-url]: https://zola-hallo.janbaudisch.dev
  88. [zola]: https://www.getzola.org
  89. [hallo-hugo]: https://github.com/EmielH/hallo-hugo
  90. [fontawesome]: https://fontawesome.com
  91. [fontawesome-brands]: https://fontawesome.com/icons?d=gallery&s=brands&m=free
  92. [upstream-license]: https://github.com/janbaudisch/zola-hallo/blob/master/upstream/LICENSE
  93. [config]: https://github.com/janbaudisch/zola-hallo/blob/master/config.toml