diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml new file mode 100644 index 0000000..ef0bfb4 --- /dev/null +++ b/.gitea/workflows/build-and-deploy.yml @@ -0,0 +1,26 @@ +name: Build and Deploy Resume Site +on: + push: + branches: + - master + +jobs: + setup-website-content: + runs-on: ubuntu-latest + container: + image: shockrah/hugo + steps: + - run: git init + - run: git remote add origin https://git.shockrah.xyz/shockrah/temper-tv.git + - run: git pull origin master + - name: Build website content + run: cd main-site && pwd && ls -a && hugo + - name: Copy files with rsync + uses: tempersama/rsync-copy@2.6 + with: + host: shockrah.xyz + username: ${{ secrets.USER }} + source: "main-site/public/" + destination: /opt/nginx/temper.tv/ + key: ${{ secrets.PRIVATE_KEY }} + diff --git a/main-site/themes/temper/layouts/_default/single.html b/main-site/themes/temper/layouts/_default/single.html index 5fb1db6..f3a34c5 100644 --- a/main-site/themes/temper/layouts/_default/single.html +++ b/main-site/themes/temper/layouts/_default/single.html @@ -4,14 +4,14 @@ {{ if .Params.Description }}
{{ .Params.Description }}
-
- {{ end }} - {{ if .Params.Thumbnail }} - {{ if .Params.ContentThumbnail }} - - - + {{ if .Params.Thumbnail }} + {{ if .Params.ContentThumbnail }} + + + + {{ end }} {{ end }} + {{ end }}
{{ .Content }}
{{ end }} diff --git a/main-site/themes/temper/static/css/style.css b/main-site/themes/temper/static/css/style.css index e8dada5..969901e 100644 --- a/main-site/themes/temper/static/css/style.css +++ b/main-site/themes/temper/static/css/style.css @@ -171,13 +171,17 @@ a:hover { color: #EAA221; } width: 80%; padding-bottom: 1em; } +.feed-container .a .card-img { + max-width: 60%; +} + .card { background-color: transparent; border-style: solid; border-width: 3px; padding: 1em; margin: 1em; - max-width: 75%; + max-width: 60%; min-width: 250px; }