Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
homepage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexis Durgnat
homepage
Commits
d2f2f490
Commit
d2f2f490
authored
4 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
added physics
parent
607ec279
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
hakyll-bootstrap/Main.hs
+31
-1
31 additions, 1 deletion
hakyll-bootstrap/Main.hs
hakyll-bootstrap/Makefile
+5
-3
5 additions, 3 deletions
hakyll-bootstrap/Makefile
hakyll-bootstrap/cours/isc_physics
+1
-1
1 addition, 1 deletion
hakyll-bootstrap/cours/isc_physics
with
37 additions
and
5 deletions
hakyll-bootstrap/Main.hs
+
31
−
1
View file @
d2f2f490
...
...
@@ -71,7 +71,8 @@ static = do
.||.
"img/*/**.png"
.||.
"css/*"
.||.
"js/*"
.||.
"cours/math_tech_info/figs/*"
)
$
do
.||.
"cours/math_tech_info/figs/*"
.||.
"cours/isc_physics/figs/*"
)
$
do
route
idRoute
compile
$
copyFileCompiler
...
...
@@ -82,6 +83,13 @@ resizeThumbnails = do
compile
$
loadImage
>>=
scaleImageCompiler
140
140
resizeHeads
::
Rules
()
resizeHeads
=
do
match
"img/heads/**.png"
$
do
route
idRoute
compile
$
loadImage
>>=
scaleImageCompiler
256
256
resizeLarge
::
Rules
()
resizeLarge
=
do
match
"img/large/**.png"
$
do
...
...
@@ -164,6 +172,25 @@ mti = do
>>=
loadAndApplyTemplate
"templates/archive.html"
(
courseCtx
posts
"Mathématiques en technologie de l'information"
)
>>=
relativizeUrls
cours_phys_app
::
Rules
()
cours_phys_app
=
do
match
"cours/isc_physics/*.markdown"
$
do
route
$
setExtension
"html"
-- compile $ myPandocCompiler
compile
$
bibtexCompiler
>>=
loadAndApplyTemplate
"templates/class.html"
postCtx
>>=
relativizeUrls
phys_app
::
Rules
()
phys_app
=
do
create
[
"phys_app.html"
]
$
do
route
idRoute
compile
$
do
posts
<-
recentFirst
=<<
loadAll
"cours/isc_physics/*"
makeItem
""
>>=
loadAndApplyTemplate
"templates/archive.html"
(
courseCtx
posts
"Physique appliquée"
)
>>=
relativizeUrls
index
::
Rules
()
index
=
do
match
"index.html"
$
do
...
...
@@ -244,11 +271,14 @@ main = hakyllWith cfg $ do
conc
cours_mti
mti
cours_phys_app
phys_app
research
bachelor
index
templates
resizeThumbnails
resizeLarge
resizeHeads
static
This diff is collapsed.
Click to expand it.
hakyll-bootstrap/Makefile
+
5
−
3
View file @
d2f2f490
watch
:
watch
:
Main.hs cours/math_tech_info/*.md cours/isc_physics/*.md
make hakyll_gen
-C
cours/math_tech_info
stack build
&&
stack
exec
blog
--
watch
make hakyll_gen
-C
cours/isc_physics
stack build
&&
stack
exec
blog
--
rebuild
&&
stack
exec
blog
--
watch
clean
:
rm
-rf
_cache _site
make clean
-C
cours/math_tech_info
\ No newline at end of file
make clean
-C
cours/math_tech_info
make clean
-C
cours/isc_physics
This diff is collapsed.
Click to expand it.
isc_physics
@
f7cce04f
Compare
84eaf957
...
f7cce04f
Subproject commit
84eaf9574581175da1da2ce2564caede9be3a818
Subproject commit
f7cce04fd3823928781f30e8c5d497acfafde470
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment