diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 8d24bc1ff5..0000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: ['wowthemesnet'] diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml new file mode 100644 index 0000000000..2af163f663 --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,58 @@ +name: Deploy Jekyll to GitHub Pages + +on: + push: + branches: [master] + schedule: + - cron: "0 7 * * *" + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Ruby with bundler cache + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.1" + bundler-cache: true + + #Uncomment only if your site needs libvips or ImageMagick + - name: Install image libs + run: | + sudo apt-get update + sudo apt-get install -y libvips libvips-tools imagemagick + + - name: Build site + env: + JEKYLL_ENV: production + NODE_ENV: production + run: bundle exec jekyll build --trace + + - name: Upload Pages artifact + uses: actions/upload-pages-artifact@v3 + with: + path: _site + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index 50c3e28f0b..2dfa0dd031 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,11 @@ _site .sass-cache .jekyll-metadata +.jekyll-cache +.tweet-cache +.vscode +*.code-workspace +scripts +assets/ps node_modules Gemfile.lock diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000000..e69de29bb2 diff --git a/404.html b/404.html index c472b4ea0a..cc264e22a6 100644 --- a/404.html +++ b/404.html @@ -1,5 +1,6 @@ --- layout: default +permalink: /404.html --- + function lunr_search(term) { + $('#lunrsearchresults').show( 1000 ); + $( "body" ).addClass( "modal-open" ); + document.getElementById('lunrsearchresults').innerHTML = ''; + if(term) { + document.getElementById('modtit').innerHTML = "" + document.getElementById('modtit').innerHTML; + //put results on the screen. + var results = idx.search(term); + if(results.length>0){ + //console.log(idx.search(term)); + //if results + for (var i = 0; i < results.length; i++) { + // more statements + var ref = results[i]['ref']; + var url = documents[ref]['url']; + var title = documents[ref]['title']; + var body = documents[ref]['body'].substring(0,160)+'...'; + document.querySelectorAll('#lunrsearchresults ul')[0].innerHTML = document.querySelectorAll('#lunrsearchresults ul')[0].innerHTML + "
  • " + title + "
    "+ body +"
    "+ url +"
  • "; + } + } else { + document.querySelectorAll('#lunrsearchresults ul')[0].innerHTML = "
  • Leider konnten keine Suchergebnisse gefunden werden!
  • "; + } + } + return false; + } + + - \ No newline at end of file + diff --git a/_includes/sidebar-featured.html b/_includes/sidebar-featured.html index eba1f353af..2a74088c82 100644 --- a/_includes/sidebar-featured.html +++ b/_includes/sidebar-featured.html @@ -1,21 +1,28 @@
    -

    Featured

    - -
    \ No newline at end of file +

    Features

    + + diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 3fd15ef6db..9f59890d46 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -1,7 +1,21 @@ -
    Mundana Jekyll Theme
    +
    Bitcoin Sozial
    -

    Hi! The website you are previewing is a demonstration for Mundana Jekyll theme, hosted on Github, made by Sal.

    +

    {{site.description}}.

    - Documentation +

    + Kontaktiere uns, wenn du einen Beitrag + auf {{site.name}} veröffentlichen möchtest. +

    + diff --git a/_includes/tracking-footer.html b/_includes/tracking-footer.html index 90d5adb985..e69de29bb2 100644 --- a/_includes/tracking-footer.html +++ b/_includes/tracking-footer.html @@ -1 +0,0 @@ - diff --git a/_includes/tracking-header.html b/_includes/tracking-header.html index dac143309f..e69de29bb2 100644 --- a/_includes/tracking-header.html +++ b/_includes/tracking-header.html @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index cf6a35d8cf..3b37150e7e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,7 +4,11 @@ + {% if page.url == "/" %} + {{site.description}} | {{site.name}} + {% else %} {{page.title}} | {{site.name}} + {% endif %} {% seo %} @@ -38,15 +42,15 @@