diff --git a/config/backups.yaml b/config/backups.yaml new file mode 100644 index 00000000..e69de29b diff --git a/config/media.yaml b/config/media.yaml new file mode 100644 index 00000000..e69de29b diff --git a/config/plugins/git-sync.yaml b/config/plugins/git-sync.yaml new file mode 100644 index 00000000..68367fea --- /dev/null +++ b/config/plugins/git-sync.yaml @@ -0,0 +1,30 @@ +enabled: true +folders: + - pages + - themes + - config +sync: + on_save: true + on_delete: true + on_media: true + cron_enable: false + cron_at: '0 12,23 * * *' +local_repository: null +repository: 'git@git.kemt.fei.tuke.sk:KEMT/zpwiki.git' +no_user: '0' +user: zpwikiuser +password: gitsync-def502001df1df627230ddf8dbdcf2e009a33ef7eb2378430c12aabb4de1dc42d30c522473512dbeccab4782d87d16488303c5062a05a4fc155fa5379268f878650d714188f5614a7bf10a8d465410f276913bd9c28cda221a8deab71c6701fb +webhook: /_git-sync-9ad6430986a6 +webhook_enabled: '0' +webhook_secret: 58488c5ff4bad574a21fc3f34b71d275ffbdaa0b1cdcafe4 +branch: master +remote: + name: origin + branch: master +git: + author: gravuser + message: '(Grav GitSync) Automatic Commit' + name: GitSync + email: git-sync@trilby.media + bin: git +logging: false diff --git a/config/plugins/page-toc.yaml b/config/plugins/page-toc.yaml new file mode 100644 index 00000000..3d497065 --- /dev/null +++ b/config/plugins/page-toc.yaml @@ -0,0 +1,4 @@ +enabled: true +active: true +start: '1' +depth: '6' diff --git a/config/scheduler.yaml b/config/scheduler.yaml new file mode 100644 index 00000000..e69de29b diff --git a/config/security.yaml b/config/security.yaml new file mode 100644 index 00000000..6a871028 --- /dev/null +++ b/config/security.yaml @@ -0,0 +1 @@ +salt: xZBMvDjawspOYb diff --git a/config/site.yaml b/config/site.yaml new file mode 100644 index 00000000..3cba0646 --- /dev/null +++ b/config/site.yaml @@ -0,0 +1,20 @@ +title: 'Záverečné práce' +default_lang: en +author: + name: 'Joe Bloggs' + email: joe@example.com +taxonomies: + - category + - tag + - author +metadata: + description: 'Grav is an easy to use, yet powerful, open source flat-file CMS' +summary: + enabled: true + format: short + size: 300 + delimiter: '===' +redirects: null +routes: null +blog: + route: /blog diff --git a/config/streams.yaml b/config/streams.yaml new file mode 100644 index 00000000..e69de29b diff --git a/config/system.yaml b/config/system.yaml new file mode 100644 index 00000000..d9ca0918 --- /dev/null +++ b/config/system.yaml @@ -0,0 +1,179 @@ +absolute_urls: false +timezone: '' +default_locale: null +param_sep: ':' +wrapped_site: false +reverse_proxy_setup: false +force_ssl: false +force_lowercase_urls: true +custom_base_url: '' +username_regex: '^[a-z0-9_-]{3,16}$' +pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}' +intl_enabled: true +http_x_forwarded: + protocol: true + host: false + port: true + ip: true +languages: + supported: { } + default_lang: null + include_default_lang: true + pages_fallback_only: false + translations: true + translations_fallback: true + session_store_active: false + http_accept_language: false + override_locale: false +home: + alias: /home + hide_in_urls: false +pages: + theme: mytheme + order: + by: default + dir: asc + list: + count: 20 + dateformat: + default: null + short: 'jS M Y' + long: 'F jS \a\t g:ia' + publish_dates: true + process: + markdown: true + twig: false + twig_first: false + never_cache_twig: false + events: + page: true + twig: true + markdown: + extra: false + auto_line_breaks: false + auto_url_links: false + escape_markup: false + special_chars: + '>': gt + '<': lt + valid_link_attributes: + - rel + - target + - id + - class + - classes + types: + - html + - htm + - xml + - txt + - json + - rss + - atom + append_url_extension: '' + expires: 604800 + cache_control: null + last_modified: false + etag: false + vary_accept_encoding: false + redirect_default_route: false + redirect_default_code: 302 + redirect_trailing_slash: true + ignore_files: + - .DS_Store + ignore_folders: + - .git + - .idea + ignore_hidden: true + hide_empty_folders: false + url_taxonomy_filters: true + frontmatter: + process_twig: false + ignore_fields: + - form + - forms +cache: + enabled: true + check: + method: file + driver: auto + prefix: g + purge_at: '0 4 * * *' + clear_at: '0 3 * * *' + clear_job_type: standard + clear_images_by_default: true + cli_compatibility: false + lifetime: 604800 + gzip: false + allow_webserver_gzip: false + redis: + socket: false +twig: + cache: true + debug: true + auto_reload: true + autoescape: false + undefined_functions: true + undefined_filters: true + umask_fix: false +assets: + css_pipeline: false + css_pipeline_include_externals: true + css_pipeline_before_excludes: true + css_minify: true + css_minify_windows: false + css_rewrite: true + js_pipeline: false + js_pipeline_include_externals: true + js_pipeline_before_excludes: true + js_minify: true + enable_asset_timestamp: false + collections: + jquery: 'system://assets/jquery/jquery-2.x.min.js' +errors: + display: true + log: true +log: + handler: file + syslog: + facility: local6 +debugger: + enabled: false + shutdown: + close_connection: true + twig: true +images: + default_image_quality: 85 + cache_all: false + cache_perms: '0755' + debug: false + auto_fix_orientation: false + seofriendly: false +media: + enable_media_timestamp: false + unsupported_inline_types: { } + allowed_fallback_types: { } + auto_metadata_exif: false + upload_limit: 2097152 +session: + enabled: true + initialize: true + timeout: 1800 + name: grav-site + uniqueness: path + secure: false + httponly: true + split: true + path: null +gpm: + releases: stable + proxy_url: null + method: auto + verify_peer: true + official_gpm_only: true +accounts: + type: data + storage: file +strict_mode: + yaml_compat: true + twig_compat: true diff --git a/config/themes/mytheme.yaml b/config/themes/mytheme.yaml new file mode 100644 index 00000000..9d6c1fbd --- /dev/null +++ b/config/themes/mytheme.yaml @@ -0,0 +1,13 @@ +streams: + schemes: + theme: + type: ReadOnlyStream + prefixes: + '': [user/themes/mytheme, user/themes/knowledge-base] +display_of_git_sync_repo_link: page +type_of_git_sync_repo_link: edit +custom_git_sync_repo_link_icon: null +custom_git_sync_repo_link_text: null +git_sync_edit_note_text: null +custom_git_sync_repo_presentation_link_text: null +git_sync_repo_link: 'https://git.kemt.fei.tuke.sk/KEMT/zpwiki/src/branch/master'