Skip to content

Commit

Permalink
move the github-pages slides out to the full books section
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Jan 23, 2025
1 parent 8a68056 commit 4427008
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion books.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ google-gcp/gcp.json,google-gcp,
git/git.json,git,
git-intro/git.json,git-intro,
github-ci/github-ci.json,github-ci,
github-pages/github-pages.json,github-pages,
gitlab/gitlab.json,gitlab,
golang/go.json,golang,
groovy/groovy.json,groovy,
Expand Down Expand Up @@ -58,7 +59,6 @@ vim/vim.json,vim,
web/web.json,web,
windows/windows.json,windows,
talks/real_world.json,real-world,
talks/github-pages.json,github-pages,
talks/python-pair-programming-and-tdd-workshop.json,python-pair-programming-and-tdd-workshop,
talks/what-i-learned-from-learning-rust.json,what-i-learned-from-learning-rust,
typescript/typescript.json,typescirpt,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 12 additions & 9 deletions talks/github-pages.md → github-pages/github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Visit https://USERNAME.github.io (it may take a few minutes to update)
* For GitHub Organizations it is exactly the same process.

![](github-pages/index.html)
![](examples/index.html)


## GitHub page with Jekyll
Expand All @@ -23,7 +23,7 @@
* Visit https://USERNAME.github.io/about
* Note: the .html files take precedence over the .md files!

![](github-pages/about.md)
![](examples/about.md)


## Jekyll themese
Expand All @@ -49,7 +49,7 @@

* In **_config.yml**

![](github-pages/_config.yml)
![](examples/_config.yml)



Expand All @@ -69,7 +69,8 @@ title: About the szabgab page

## JavaScript code
{id: javascript-code}
![](github-pages/js.md)

![](examples/js.md)

* One can include plain HTML in the md file. So include **script** tags.
* The code should come at the end to have the DOM available already.
Expand All @@ -78,18 +79,20 @@ title: About the szabgab page

## Load jQuery and add jQuery code
{id: load-jquery-code}
![](github-pages/jquery.md)
![](github-pages/demo.js)

![](examples/jquery.md)
![](examples/demo.js)

When you change the JavaScript file, make sure it is reloaded! Browser cashing can cause you a bad day.



## Add a JSON file, load it with jQuery and display the content
{id: load-json-file}
![](github-pages/json.md)
![](github-pages/json.js)
![](github-pages/data.json)

![](examples/json.md)
![](examples/json.js)
![](examples/data.json)



Expand Down

0 comments on commit 4427008

Please sign in to comment.